Overview
The Update Maintenance Window endpoint allows you to modify existing maintenance windows, including schedule changes, check assignments, and notification settings. Common Use Cases:- Schedule Updates
- Check Assignment Changes
- Configuration Modifications
- Window Extensions
Authorizations
The Checkly Public API uses API keys to authenticate requests. You can get the API Key here.
Your API key is like a password: keep it secure!
Authentication to the API is performed using the Bearer auth method in the Authorization header and using the account ID.
For example, set Authorization header while using cURL:
curl -H "Authorization: Bearer [apiKey]" "X-Checkly-Account: [accountId]"
Headers
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Path Parameters
Body
The maintenance window name.
"Maintenance Window"
The start date of the maintenance window.
"2022-08-24"
The end date of the maintenance window.
"2022-08-25"
The repeat strategy for the maintenance window.
"DAY"
The names of the checks and groups maintenance window should apply to.
["production"]
The repeat interval of the maintenance window from the first occurance.
x >= 1
null
The end date where the maintenance window should stop repeating.
null
Response
Successful
The id of the maintenance window.
1
The maintenance window name.
"Maintenance Window"
The start date of the maintenance window.
"2022-08-24"
The end date of the maintenance window.
"2022-08-25"
The repeat strategy for the maintenance window.
"DAY"
The creation date of the maintenance window.
The last date that the maintenance window was updated.
The names of the checks and groups maintenance window should apply to.
["production"]
The repeat interval of the maintenance window from the first occurance.
x >= 1
null
The end date where the maintenance window should stop repeating.
null