---
title: "Check if SLOs can be safely deleted"
method: GET
path: "/api/v1/slo/can_delete"
tags: ["Service Level Objectives"]
---

# Check if SLOs can be safely deleted

`GET /api/v1/slo/can_delete`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v1/slo/can_delete`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `slos_read`

Check if an SLO can be safely deleted. For example,
assure an SLO can be deleted without disrupting a dashboard.

## Query parameters

- `ids` string, required

## Response `200`

OK

- CheckCanDeleteSLOResponse: A service level objective response containing the requested object.
  - `data` CheckCanDeleteSLOResponseData: An array of service level objective objects.
    - `ok` string[]: An array of SLO IDs that can be safely deleted.
  - `errors` object: A mapping of SLO id to it's current usages.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `409`: Conflict
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v1-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v1-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v1-collection/revisions/ca5871004d26?raw)
