---
title: "Batch delete rollup and summary data"
method: POST
path: "/s/{spaceId}/api/observability/slos/_delete_instances"
tags: ["slo"]
---

# Batch delete rollup and summary data

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

The deletion occurs for the specified list of `sloId` and `instanceId`. You must have `all` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.

## Path parameters

- `spaceId` string, required

## Headers

- `kbn-xsrf` string, required

## Request body

- SLOsDeleteSloInstancesRequest — The delete SLO instances request takes a list of SLO id and instance id, then delete the rollup and summary data. This API can be used to remove the staled data of an instance SLO that no longer get updated.
  - `list` object[], required — An array of slo id and instance id
    - `instanceId` string, required — The SLO instance identifier
    - `sloId` string, required — The SLO unique identifier

## Response `204`

Successful request

## 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)
