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": "1279cca0-ccc5-4890-a09c-15ad3ecee855",
    "type": "incident_event_services",
    "attributes": {
      "incident_event_id": "dc191e4e-70ef-44e8-ae02-fc86f9541dd8",
      "service_id": "12b25832-b622-49bb-bd5e-e6883f86cc45",
      "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.