slo

Batch delete rollup and summary data

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.

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

Request

  • Base URL
    https://localhost:5601
  • URL
    https://localhost:5601/s/{spaceId}/api/observability/slos/_bulk_purge_rollup
  • Auth
    • API key in header Authorization
    • or HTTP basic

Path parameters

spaceIdstring required
Example:default

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

Headers

kbn-xsrfstring required

Cross-site request forgery protection

Request body

liststring[] required

An array of slo ids

Example request

{
  "list": [
    "8853df00-ae2e-11ed-90af-09bb6422b258"
  ],
  "purgePolicy": {
    "age": "7d"
  }
}

Response

Successful request

taskIdstring

The task id of the purge operation

Example response

{
  "taskId": "8853df00-ae2e-11ed-90af-09bb6422b258"
}

Changes

No operation changes recorded.