Update a specific incident event service by id
curl --request PUT \
--url https://api.rootly.com/v1/incident_event_services/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "incident_event_services",
"attributes": {
"status": "operational"
}
}
}'
{
"data": {
"id": "9b5bd642-ec54-4f1f-9168-0010445bf71e",
"type": "incident_event_services",
"attributes": {
"incident_event_id": "6f714094-5dc9-4c37-9085-39069298fdeb",
"service_id": "292a7eee-a66a-4f19-b0c1-e492740db7d6",
"status": "major_outage"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
incident_event_service updated
The response is of type object
.
curl --request PUT \
--url https://api.rootly.com/v1/incident_event_services/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "incident_event_services",
"attributes": {
"status": "operational"
}
}
}'
{
"data": {
"id": "9b5bd642-ec54-4f1f-9168-0010445bf71e",
"type": "incident_event_services",
"attributes": {
"incident_event_id": "6f714094-5dc9-4c37-9085-39069298fdeb",
"service_id": "292a7eee-a66a-4f19-b0c1-e492740db7d6",
"status": "major_outage"
}
}
}