Create maintenance blackout
Create a maintenance blackout for the given date range. The date range cannot overlap with any existing maintenance blackout date ranges.
Request
POST https://{hostname}:{port}
/cli/calendar/maintenanceBlackout?{parameters}
Accept: {contentType}
| Parameter | Type | Required | Description |
|---|---|---|---|
| startDate | string | true | The date the maintenance blackout starts. In the format MM-dd-yyyy-HH:mm or in milliseconds since the UNIX epoch time. |
| endDate | string | true | The date the maintenance blackout ends. In the format MM-dd-yyyy-HH:mm or in milliseconds since the UNIX epoch time. |
| name | string | false | (Optional) The name or description of the blackout. |
| recurrence | string | false | (Optional) A recurrence character for repeating blackouts (D - daily, W - weekly, M - monthly) |
| Parameter | Type | Required | Description |
|---|---|---|---|
| Accept |
|
true |
Related CLI command: createMaintenanceBlackout.