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": "2f91eaec-a35b-457a-b93f-1a2ba59dc515",
    "type": "incident_event_services",
    "attributes": {
      "incident_event_id": "3b1d765a-c2a0-46ee-809c-39a5e8bc82a3",
      "service_id": "bed7af0a-60cd-4834-a74f-7a7bb54a479e",
      "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