v1

latestOpenAPI 3.0.02026-07-142351,1971.3 MB
Service Level Objectives

Bulk Delete SLO Timeframes

Delete (or partially delete) multiple service level objective objects.

This endpoint facilitates deletion of one or more thresholds for one or more service level objective objects. If all thresholds are deleted, the service level objective object is deleted as well.

post/api/v1/slo/bulk_delete

Request body

SLOBulkDelete required

A map of service level objective object IDs to arrays of timeframes, which indicate the thresholds to delete for each ID.

Example request

{
  "id1": [
    "7d",
    "30d"
  ],
  "id2": [
    "7d",
    "30d"
  ]
}

Response

OK

Example response

{
  "errors": [
    {
      "timeframe": "30d"
    }
  ]
}