Remove SLO
DELETE {{baseUrl}}/slo/:sloID?owner_id=<string>
Remove SLO from passed ownerid (teamid) in the params . Upon sccess the slo will be removed.
Requires access_token
as a Bearer {{token}}
in the Authorization
header with user-write
scope.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
owner_id | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | null |
RESPONSES
status: OK
{"data":{"created_at":"2022-07-20T08:49:59.560079Z","updated_at":"2022-07-20T08:59:21.494115Z","deleted_at":"2022-07-20T09:04:22.619447364Z","id":1144,"owner_type":"","owner_id":"6284813de5b66bb4f729278b","org_id":"60cb200bc9de4a0008d2fc41","name":"test[punit]333","description":"test","time_interval_type":"fixed","service_ids":["62b2c18bca440a666897233d"],"slis":["availability","latency","errors","saturation"],"target_slo":90,"start_time":"2022-07-18T07:20:31.225Z","end_time":"2023-07-18T07:20:31.224Z","duration_in_days":0,"is_active":false,"allocated_error_budget":52560.008,"tags":{},"remaining_error_budget":52560.008,"slo_monitoring_checks":[{"created_at":"2022-07-20T08:49:59.562379Z","updated_at":"2022-07-20T08:59:21.511076Z","deleted_at":null,"id":1453,"owner_type":"","owner_id":"6284813de5b66bb4f729278b","org_id":"60cb200bc9de4a0008d2fc41","slo_id":1144,"name":"is_unhealthy_slo","threshold":0,"is_checked":false},{"created_at":"2022-07-20T08:49:59.562379Z","updated_at":"2022-07-20T08:59:21.51521Z","deleted_at":null,"id":1454,"owner_type":"","owner_id":"6284813de5b66bb4f729278b","org_id":"60cb200bc9de4a0008d2fc41","slo_id":1144,"name":"increased_false_positives_threshold","threshold":0,"is_checked":false},{"created_at":"2022-07-20T08:49:59.562379Z","updated_at":"2022-07-20T08:59:21.518865Z","deleted_at":null,"id":1455,"owner_type":"","owner_id":"6284813de5b66bb4f729278b","org_id":"60cb200bc9de4a0008d2fc41","slo_id":1144,"name":"remaining_err_budget_threshold","threshold":0,"is_checked":false},{"created_at":"2022-07-20T08:59:21.506266Z","updated_at":"2022-07-20T08:59:21.506266Z","deleted_at":null,"id":1456,"owner_type":"team","owner_id":"6284813de5b66bb4f729278b","org_id":"60cb200bc9de4a0008d2fc41","slo_id":1144,"name":"is_breached_err_budget","threshold":0,"is_checked":false}],"slo_actions":[]}}