Batch delete rollup and summary data Beta
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
-
An identifier for the space. If
/s/
and the identifier are omitted from the path, the default space is used.
POST
/s/{spaceId}/api/observability/slos/_delete_instances
curl \
-X POST https://<KIBANA_URL>/s/default/api/observability/slos/_delete_instances \
-H "Content-Type: application/json; Elastic-Api-Version=2023-10-31" \
-H "kbn-xsrf: string"
Request examples
# Headers
kbn-xsrf: string
# Payload
{
"list": [
{
"instanceId": "8853df00-ae2e-11ed-90af-09bb6422b258",
"sloId": "8853df00-ae2e-11ed-90af-09bb6422b258"
}
]
}
Response examples (400)
{
"error": "Bad Request",
"message": "Invalid value 'foo' supplied to: [...]",
"statusCode": 400
}
Response examples (401)
{
"error": "Unauthorized",
"message": "[security_exception\n\tRoot causes:\n\t\tsecurity_exception: unable to authenticate user [elastics] for REST request [/_security/_authenticate]]: unable to authenticate user [elastics] for REST request [/_security/_authenticate]",
"statusCode": 401
}
Response examples (403)
{
"error": "Unauthorized",
"message": "[security_exception\n\tRoot causes:\n\t\tsecurity_exception: unable to authenticate user [elastics] for REST request [/_security/_authenticate]]: unable to authenticate user [elastics] for REST request [/_security/_authenticate]",
"statusCode": 403
}