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}
Table 1. Request parameters
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)
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Related CLI command: createMaintenanceBlackout.