URL
POST https://{api-url}/api/v2/tenants/{tenantId}/scheduleMaintenances/{smId}/suspend
Sample URLs
https://{api-url}/api/v2/tenants/client_93/scheduleMaintenances/SM-c11b6b44-c85a-426c-9963-0e977070ce98/suspend
Notes
- Only active schedule maintenance windows can be suspended.
- Dates in date range consider date as yyyy-MM-dd and ignore the time HH: mm: ss.
- Send dates (start date & end date) in GMT format.
Status code
200 OK
Sample request
To suspend now:
{
"pattern": "now"
}
To suspend within a date range:
{
"pattern": "range",
"startDate": "2016-06-18T00:00:00+0000",
"endDate": "2016-06-19T00:00:00+0000"
}
Sample response
Null