curl --request PUT \
--url https://api.devhelm.io/api/v1/maintenance-windows/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"startsAt": "2023-11-07T05:31:56Z",
"endsAt": "2023-11-07T05:31:56Z",
"monitorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"repeatRule": "<string>",
"reason": "<string>",
"suppressAlerts": true
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"monitorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationId": 123,
"startsAt": "2023-11-07T05:31:56Z",
"endsAt": "2023-11-07T05:31:56Z",
"repeatRule": "<string>",
"reason": "<string>",
"suppressAlerts": true,
"createdAt": "2023-11-07T05:31:56Z"
}
}curl --request PUT \
--url https://api.devhelm.io/api/v1/maintenance-windows/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"startsAt": "2023-11-07T05:31:56Z",
"endsAt": "2023-11-07T05:31:56Z",
"monitorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"repeatRule": "<string>",
"reason": "<string>",
"suppressAlerts": true
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"monitorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationId": 123,
"startsAt": "2023-11-07T05:31:56Z",
"endsAt": "2023-11-07T05:31:56Z",
"repeatRule": "<string>",
"reason": "<string>",
"suppressAlerts": true,
"createdAt": "2023-11-07T05:31:56Z"
}
}API key (dh_live_...) or Auth0 JWT token
Updated start time (ISO 8601)
Updated end time (ISO 8601)
Monitor to attach this maintenance window to; null preserves current
Updated iCal RRULE; null clears the repeat rule
100Updated reason; null clears the existing reason
Whether to suppress alerts; null preserves current
OK
Scheduled maintenance window for a monitor
Show child attributes