Batch delete rollup and summary data

POST /s/{spaceId}/api/observability/slos/_bulk_purge_rollup

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

Headers

  • kbn-xsrf string Required

    Cross-site request forgery protection

Path parameters

  • spaceId string Required

    An identifier for the space. If /s/ and the identifier are omitted from the path, the default space is used.

application/json

Body Required

  • list array[string] Required

    An array of slo ids

  • purgePolicy object Required

    Policy that dictates which SLI documents to purge based on age

    One of:

Responses

  • 200 application/json

    Successful request

    Hide response attribute Show response attribute object
    • taskId string

      The task id of the purge operation

  • 400 application/json

    Bad request

    Hide response attributes Show response attributes object
  • 401 application/json

    Unauthorized response

    Hide response attributes Show response attributes object
  • 403 application/json

    Unauthorized response

    Hide response attributes Show response attributes object
POST /s/{spaceId}/api/observability/slos/_bulk_purge_rollup
curl \
 --request POST 'https://localhost:5601/s/default/api/observability/slos/_bulk_purge_rollup' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --header "kbn-xsrf: string" \
 --data '{"list":["8853df00-ae2e-11ed-90af-09bb6422b258"],"purgePolicy":{"age":"7d","purgeType":"fixed-age"}}'