Maintenance windows
Create a maintenance window
One-off with starts_at and ends_at, or weekly with schedule. Targets must belong to the team (422 otherwise).
post/maintenance-windows
Request
- Base URLhttps://api.spectate.net/v1
- AuthHTTP bearer
Request body
Example request
{
"name": "Sunday deploys",
"schedule": {
"timezone": "Europe/Amsterdam",
"days": [
7
],
"start_time": "02:00",
"end_time": "04:00"
}
}Response
The new 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.