curl --request POST \
--url https://api.devhelm.io/api/v1/maintenance-windows \
--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"
}
}Creates a new maintenance window. Set monitorId to null to create an org-wide window that suppresses alerts for all monitors.
curl --request POST \
--url https://api.devhelm.io/api/v1/maintenance-windows \
--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
Scheduled start of the maintenance window (ISO 8601)
Scheduled end of the maintenance window (ISO 8601)
Monitor to attach this maintenance window to; null for org-wide
iCal RRULE for recurring windows (max 100 chars); null for one-time
100Human-readable reason for the maintenance
Whether to suppress alerts during this window (default: true)
Created
Scheduled maintenance window for a monitor
Show child attributes