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": "7cbc27a2-c4f6-4def-bbb2-fda2abf5c28c",
    "type": "incident_event_services",
    "attributes": {
      "incident_event_id": "d2e2ab06-fea7-41d6-937e-316b818433b4",
      "service_id": "bfdbd63b-c5ef-4109-a001-3e57279ade1b",
      "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