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": "c4e75dc3-e5bf-4c7f-b89d-8dfbf835b297",
    "type": "incident_event_services",
    "attributes": {
      "incident_event_id": "753fc1cf-3c40-458f-b85f-b96842aabfeb",
      "service_id": "f5c6364a-ae07-4d3f-96fe-e5d8c8e55016",
      "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

Response

201
application/vnd.api+json

incident_event_service created

The response is of type object.