Retrieve the status of the bulk deletion

GET /s/{spaceId}/api/observability/slos/_bulk_delete/{taskId}

Retrieve the status of the bulk deletion operation for SLOs. This endpoint returns the status of the bulk deletion operation, including whether it is completed and the results of the operation.

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.

  • taskId string Required

    The task id of the bulk delete operation

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • error string

      The error message if the bulk deletion operation failed

    • isDone boolean

      Indicates if the bulk deletion operation is completed

    • results array[object]

      The results of the bulk deletion operation, including the success status and any errors for each SLO

      Hide results attributes Show results attributes object
      • error string

        The error message if the deletion operation failed for this SLO

      • id string

        The ID of the SLO that was deleted

      • success boolean

        The result of the deletion operation for this SLO

  • 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
GET /s/{spaceId}/api/observability/slos/_bulk_delete/{taskId}
curl \
 --request GET 'https://localhost:5601/s/default/api/observability/slos/_bulk_delete/8853df00-ae2e-11ed-90af-09bb6422b258' \
 --header "Authorization: $API_KEY" \
 --header "kbn-xsrf: string"