Maintenance windows
Update a maintenance window
Changes only the fields you send. Moving ends_at extends or shortens a running window.
patch/maintenance-windows/{maintenanceWindow}
Request
- Base URLhttps://api.spectate.net/v1
- AuthHTTP bearer
Path parameters
maintenanceWindowstring uuid required
Window ID.
Request body
Example request
{
"name": "Sunday deploys",
"schedule": {
"timezone": "Europe/Amsterdam",
"days": [
7
],
"start_time": "02:00",
"end_time": "04:00"
}
}Response
The updated window.
Example response
{
"name": "Sunday deploys",
"schedule": {
"timezone": "Europe/Amsterdam",
"days": [
7
],
"start_time": "02:00",
"end_time": "04:00"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.