Change a recurring maintenance window.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
This endpoint updates a maintenance schedule. It is a partial update: send only the fields to change. It sends an HTTP PATCH request (PUT is accepted too and is also a partial update) to https://hub.xyte.io/core/v1/organization/maintenance_schedules/{id}.
Disabling a schedule or shortening its window releases the incidents it was hiding right away: each one still open is announced as a new incident, unless another window still covers its space or its device is under manual maintenance, in which case it moves to manual maintenance and is announced when that ends. The schedule's space cannot be changed.
Authorization
This endpoint requires Authorization.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| id | string | Unique identifier of the maintenance schedule (UUID). |
Request Body
All fields are optional and follow the rules of Create Maintenance Schedule.
| Key | Type | Description |
|---|---|---|
| name | string | Label, up to 255 characters; null clears it. |
| days | array | One or more of mon, tue, wed, thu, fri, sat, sun: the weekdays the window starts on. |
| start | string | HH:MM (00:00–23:59), local time in the space's time zone. |
| end | string | HH:MM (00:00–24:00). An end at or before start runs into the next day; 00:00–24:00 is the whole day. Must differ from start. |
| enabled | boolean | false switches the schedule off without deleting it. |
{
"end": "07:00",
"enabled": false
}Response
Returns the updated schedule, in the shape of a Get Maintenance Schedules item.
{
"id": "3c1e2f4a-8b7d-4c6e-9f10-xxxxxxxxxxxx",
"name": "Nightly",
"days": ["mon", "tue", "wed", "thu", "fri"],
"start": "02:00",
"end": "07:00",
"timezone": "Europe/Paris",
"enabled": false,
"space": {
"id": 17517,
"name": "Paris Office",
"path": "Green Energy Corp/France/Paris Office"
},
"active": false,
"until": null,
"next_start_at": null,
"next_end_at": null,
"created_by": {
"id": "9d2b6a10-4f8e-4c1a-b7d3-xxxxxxxxxxxx",
"name": "Jane Doe"
},
"created_at": "2026-10-20T09:12:44Z",
"updated_at": "2026-10-22T15:40:03Z"
}Errors
| Status | Description |
|---|---|
| 403 | Scheduled maintenance is not enabled for your organization: { "error": "Scheduled maintenance is not enabled for this organization" }. |
| 404 | The schedule does not exist or does not belong to your organization. |
| 422 | days is empty, a day is unknown, a time is malformed, or the change would make start equal to end. |
