Edit maintenance
update_maintenanceEdit an upcoming or running maintenance window: its title, description, start, end, the monitors it covers (monitor_ids replaces the whole set) or whether it holds their paging. end_now ends a running window at once and keeps it as completed work. A completed or cancelled window is history and is refused. Shows the old and new value of every field before it runs, where the client can show a prompt; otherwise runs on the token's scope. Not read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The window id (from `list_maintenance`). | |
| title | No | At most 200 characters. | |
| end_now | No | End a running window now. Cannot be combined with `starts_at` or `ends_at`. | |
| ends_at | No | RFC 3339, in the future. To stop a running window now, send `end_now` instead. | |
| starts_at | No | RFC 3339. | |
| description | No | At most 5000 characters. An empty string clears it. | |
| monitor_ids | No | Replaces the whole set, by id from `list_monitors`. Read the window first: a monitor left out stops being covered. | |
| suppress_alerts | No | Hold paging for its monitors while it runs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | Yes | ||
| changes | Yes | What moved. Empty when every value sent already matched, in which case nothing was written and no confirmation was asked for. |