POST
/
v1
/
events
/
{incident_event_id}
/
services
curl --request POST \
  --url https://api.rootly.com/v1/events/{incident_event_id}/services \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "incident_event_services",
    "attributes": {
      "incident_event_id": "<string>",
      "service_id": "<string>",
      "status": "operational"
    }
  }
}'
{
  "data": {
    "id": "eb98b094-4024-42ea-9336-683ed63c2497",
    "type": "incident_event_services",
    "attributes": {
      "incident_event_id": "b822964e-0a8e-4c5f-b299-3a412708c546",
      "service_id": "860cfae8-9fb9-420b-9759-a10e13b63911",
      "status": "partial_outage"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

incident_event_id
string
required

Body

application/vnd.api+json
data
object
required

Response

201
application/vnd.api+json
incident_event_service created
data
object
required