Mark SLO Affected

POST {{baseUrl}}/slo/:sloID/incident?owner_id=<ObjectId>

This endpoint is used for mark slo affected.

Requires access_token as a Bearer {{token}} in the Authorization header with user-write scope.

Request Params

KeyDatatypeRequiredDescription
owner_idstring

Request Body

{"incident_id"=>"63fd9767ab561c93d38c0b33", "owner_id"=>"6129ac15518568defa92494b", "org_id"=>"60cb200bc9de4a0018d2fc41", "slis"=>["latency"], "error_budget_spent"=>"<float32>"}

HEADERS

KeyDatatypeRequiredDescription
Authorizationnull
Content-Typestring

RESPONSES

status: Created

{&quot;data&quot;:{&quot;slo_violating_incident&quot;:{&quot;created_at&quot;:&quot;2023-02-28T05:56:39.741601527Z&quot;,&quot;updated_at&quot;:&quot;2023-02-28T05:56:39.741601527Z&quot;,&quot;deleted_at&quot;:null,&quot;id&quot;:2123,&quot;owner_type&quot;:&quot;&quot;,&quot;owner_id&quot;:&quot;6129ac15518568defa92494b&quot;,&quot;org_id&quot;:&quot;60cb200bc9de4a0018d2fc41&quot;,&quot;slo_id&quot;:1128,&quot;incident_id&quot;:&quot;63fd9767ab561c93d38c0b33&quot;,&quot;slis&quot;:[&quot;latency&quot;],&quot;error_budget_spent&quot;:0,&quot;is_false_positive&quot;:false,&quot;start_time&quot;:&quot;2023-02-28T05:55:51.183Z&quot;,&quot;end_time&quot;:&quot;2023-02-28T05:55:51.183Z&quot;}}}