---
title: "Bulk Delete SLO Timeframes"
method: POST
path: "/api/v1/slo/bulk_delete"
tags: ["Service Level Objectives"]
---

# Bulk Delete SLO Timeframes

`POST /api/v1/slo/bulk_delete`

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.

## Request body

- SLOBulkDelete — A map of service level objective object IDs to arrays of timeframes, which indicate the thresholds to delete for each ID.

## Response `200`

OK

- SLOBulkDeleteResponse — The bulk partial delete service level objective object endpoint response. This endpoint operates on multiple service level objective objects, so it may be partially successful. In such cases, the "data" and "error" fields in this response indicate which deletions succeeded and failed.
  - `data` SLOBulkDeleteResponseData — An array of service level objective objects.
    - `deleted` string[] — An array of service level objective object IDs that indicates which objects that were completely deleted.
    - `updated` string[] — An array of service level objective object IDs that indicates which objects that were modified (objects for which at least one threshold was deleted, but that were not completely deleted).
  - `errors` SLOBulkDeleteError[] — Array of errors object returned.
    - `id` string, required — The ID of the service level objective object associated with this error.
    - `message` string, required — The error message.
    - `timeframe` '7d' | '30d' | '90d' | 'all', required — The timeframe of the threshold associated with this error or "all" if all thresholds are affected.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v1.md) · [All operations](https://skmtc.net/datadog/apis/api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v1/revisions/ca5871004d26/schema)
