Update a maintenance window
update_maintenance_windowUpdate a maintenance window's name, schedule, scope, or monitors, or disable it to silence alerts. Only passed fields change; monitors stay checked.
Instructions
Change one maintenance window's name, schedule, scope or monitors, or switch it off with enabled false; only the fields you pass change. While a window is in effect its monitors keep being checked, but no incident opens and no alert goes out. A recurring window cannot become one-time: delete it with delete_maintenance_window and create a new one. Check a new schedule with preview_maintenance_window first. Requires a key with the write scope. An invalid argument is a 422 and a resulting schedule that is invalid (for example a bad rrule) a 406, each with the reason. Returns the window. Example: {"window_id": "", "enabled": false}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name, 1 to 255 characters. | |
| rrule | No | Repeats the window: one iCal RRULE without the RRULE: prefix, at most 1024 characters, for example FREQ=WEEKLY;BYDAY=SU;BYHOUR=3. Hourly, minutely and secondly frequencies are refused. | |
| scope | No | ORG covers every monitor of the organization and ignores monitor_ids; MONITOR covers only monitor_ids. | |
| dtstart | No | The first start, an ISO 8601 date-time in the wall-clock time of timezone, for example 2026-10-14T22:00:00. A UTC offset or Z is a 422. | |
| enabled | No | false keeps the window but stops it silencing alerts. | |
| timezone | No | IANA zone name such as Europe/Berlin, at most 64 characters. The schedule repeats in it, so a weekly 03:00 stays 03:00 across daylight-saving changes. | |
| window_id | Yes | The window's uuid from list_maintenance_windows. An id that is not a window of this organization is a 404. | |
| monitor_ids | No | Replaces the list when passed. Monitor uuids from list_monitors, at least one when scope is MONITOR. An id that is not a monitor of this organization is a 404. | |
| duration_minutes | No | How long each occurrence lasts, 1 to 40320 minutes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| rrule | Yes | ||
| scope | Yes | Known values: MONITOR, ORG. | |
| dtstart | Yes | ||
| enabled | Yes | ||
| timezone | Yes | ||
| created_at | Yes | ||
| monitor_ids | No | ||
| duration_minutes | Yes |