---
title: "Bulk delete SLO definitions and their associated summary and rollup data."
method: POST
path: "/s/{spaceId}/api/observability/slos/_bulk_delete"
tags: ["slo"]
---

# Bulk delete SLO definitions and their associated summary and rollup data.

`POST /s/{spaceId}/api/observability/slos/_bulk_delete`

Bulk delete SLO definitions and their associated summary and rollup data.  This endpoint initiates a bulk deletion operation for SLOs, which may take some time to complete.  The status of the operation can be checked using the `GET /api/slo/_bulk_delete/{taskId}` endpoint.

## Path parameters

- `spaceId` string, required

## Headers

- `kbn-xsrf` string, required

## Request body

- SLOsBulkDeleteRequest — The bulk delete SLO request takes a list of SLOs Definition id to delete.
  - `list` string[], required — An array of SLO Definition id

## Response `200`

Successful response

- SLOsBulkDeleteResponse — The bulk delete SLO response returns a taskId that can be used to poll for its status
  - `taskId` string — The taskId of the bulk delete operation

## Other responses

- `400` — Bad request
- `401` — Unauthorized response
- `403` — Forbidden response

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
