Downtimes
Cancel downtimes by scope
Delete all downtimes that match the scope of X. Note: This only interacts with Downtimes created using v1 endpoints. This endpoint has been deprecated and will not be replaced. Please use v2 endpoints to find and cancel downtimes.
post/api/v1/downtime/cancel/by_scope
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v1/downtime/cancel/by_scope
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code: /oauth2/v1/authorizeToken URL: /oauth2/v1/token scopes: monitors_downtime
Request body
Example request
{
"scope": "host:myserver"
}Response
OK
Example response
{
"cancelled_ids": [
123456789,
123456790
]
}Changes
No recorded changes to this operation across all 1 revision of this API.