Maintenance windows
Update a maintenance window
Changed onPartially updates a maintenance window. Only fields included in the request body are modified; omitted fields are left unchanged. Status-page-only fields live under statusPageVisibility and only take effect when statusPageVisibility.enabled: true.
put/v1/maintenance-windows/{id}
Request
- Base URLhttps://api.checklyhq.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Headers
x-checkly-accountstring
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Request body
Example request
{
"name": "Maintenance Window",
"tags": [
"production"
],
"startsAt": "2022-08-24",
"endsAt": "2022-08-25",
"timezone": "America/New_York"
}Response
Successful
Example response
{
"id": 1,
"tags": [
"production"
],
"timezone": "America/New_York",
"projectBindings": {
"owner": {
"binding": {
"logicalId": "homepage-check",
"sourceFile": "src/__checks__/homepage.check.ts"
}
},
"references": [
{
"binding": {
"logicalId": "homepage-check",
"sourceFile": "src/__checks__/homepage.check.ts"
}
}
]
}
}Changes
- info
added the optional property
to the response with the status - info
the response property
became required for the status
- info
- info
added the optional property
///to the response with the status - info
added the optional property
////to the response with the status
- info