Change a maintenance window
update_maintenanceUse this when the user wants to change planned or running maintenance: end it early or start it now, extend or move it, rename it, or pause or resume a recurring schedule. Changes it as the dashboard's Maintenance page does and returns the window as it is now. A window that asked to tell subscribers emails them as the page's would: the new time when a one-time window moves, and that it started or ended. Not for new work (use draft_maintenance), calling it off (use cancel_maintenance) or an outage (use draft_incident_post).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The window's site: its id, name or part of its URL. | |
| when | No | For edit: the new start, a date and time such as 2026-11-02 02:00 (read in timezone), or RFC 3339; for a recurring window, the time of day. | |
| title | No | For edit: the new title, as subscribers will read it. | |
| action | Yes | edit changes the fields given and keeps the rest; start begins a scheduled window now; end finishes one in progress now; pause and resume a recurring schedule. | |
| timezone | No | For edit: the IANA time zone when is read in. Default: the window's own zone. | |
| description | No | For edit: new details shown with the window; an empty string clears them. | |
| maintenance | Yes | The window: its id from list_incidents with kind maintenance, or its title. | |
| duration_minutes | No | For edit: the new length, 1 to 720 minutes; a window in progress ends this long after it started. | |
| notify_subscribers | No | For edit: whether status page subscribers are emailed about the window. Only when the user asks. |