Cancel a maintenance window
POST
/organizations/{org_id}/maintenance-windows/{id}/cancel
const url = 'https://api.perstat.io/organizations/example/maintenance-windows/example/cancel';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.perstat.io/organizations/example/maintenance-windows/example/cancel \ --header 'Authorization: Bearer <token>'Cancels a scheduled maintenance window so it no longer takes effect or announces itself; the window record itself is kept. Responds 204 without a body. Use delete to remove the record entirely. Requires project management rights.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”org_id
required
string
id
required
string