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": "6fbc718b-678b-4ce8-a030-d5796626688d",
    "type": "incident_event_services",
    "attributes": {
      "incident_event_id": "5e8d15fc-b5ec-48d5-af2d-abfd0519ccfa",
      "service_id": "b257b39c-3235-4943-a9ab-ea86e3f8d59b",
      "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.