provider Downtimes DELETE
/api/v2/downtime/{downtime_id} @utdk/datadog
/api/v2/downtime/{downtime_id} Cancel a downtime
Cancel a downtime.
**Note**: Downtimes canceled through the API are no longer active, but are retained for approximately two days before being permanently removed. The downtime may still appear in search results until it is permanently removed.
- downtime_id path required
- ID of the downtime to cancel.
- string
Try it
Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.canceldowntime()