Service Level Objectives
Bulk Delete SLO Timeframes
Delete (or partially delete) multiple service level objective objects.
This endpoint facilitates deletion of one or more thresholds for one or more service level objective objects. If all thresholds are deleted, the service level objective object is deleted as well.
post/api/v1/slo/bulk_delete
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v1/slo/bulk_delete
- 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: slos_write
Request body
SLOBulk Delete required
A map of service level objective object IDs to arrays of timeframes, which indicate the thresholds to delete for each ID.
Example request
{
"id1": [
"7d",
"30d"
],
"id2": [
"7d",
"30d"
]
}Response
OK
Example response
{
"errors": [
{
"timeframe": "30d"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.