Update a maintenance window
update_maintenance_windowUpdate a maintenance window by ID. The monitoring_mode, starts_at, ends_at, monitors and status_pages fields can only be modified while the maintenance window is scheduled, except for ends_at which can be extended while the maintenance window is in progress.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"maintenance_window_id": "<maintenance_window_id>"
},
"name": "update_maintenance_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Resource tags, made of lowercase letters, numbers, `.`, `_`, `:` and `-`. An organization can have up to 200 tags. | |
| title | No | Maintenance window title | |
| ends_at | No | Date and time when the maintenance window ends, with minute precision (seconds must be `00`). Must be after `starts_at` and within the next year. | |
| monitors | No | List of monitor IDs linked to the maintenance window | |
| starts_at | No | Date and time when the maintenance window starts, with minute precision (seconds must be `00`). Must be within the next year. | |
| project_id | Yes | ID of the project to act on, see whoami | |
| description | No | Description of the maintenance window | |
| status_pages | No | List of status page IDs linked to the maintenance window | |
| monitoring_mode | No | Monitoring mode during maintenance | |
| maintenance_window_id | Yes | ID of the maintenance window to update |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Maintenance window ID | |
| tags | No | Resource tags, made of lowercase letters, numbers, `.`, `_`, `:` and `-`. An organization can have up to 200 tags. | |
| state | No | Maintenance window state | |
| title | No | Maintenance window title | |
| ends_at | No | Date and time when the maintenance window ends, with minute precision (seconds must be `00`). Must be after `starts_at` and within the next year. | |
| monitors | No | List of monitor IDs linked to the maintenance window | |
| starts_at | No | Date and time when the maintenance window starts, with minute precision (seconds must be `00`). Must be within the next year. | |
| created_at | No | Date of creation for the entity | |
| project_id | No | Parent project ID | |
| updated_at | No | Date of last update for the entity | |
| description | No | Description of the maintenance window | |
| status_pages | No | List of status page IDs linked to the maintenance window | |
| monitoring_mode | No | Monitoring mode during maintenance |