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": "81205839-ddcb-440a-9dcf-81d8838ee964",
"type": "incident_event_services",
"attributes": {
"incident_event_id": "38d3acfa-d094-4af2-acc1-7ffa42281a8e",
"service_id": "c99fe080-52bb-450b-934d-9685110be6df",
"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
.
Was this page helpful?
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": "81205839-ddcb-440a-9dcf-81d8838ee964",
"type": "incident_event_services",
"attributes": {
"incident_event_id": "38d3acfa-d094-4af2-acc1-7ffa42281a8e",
"service_id": "c99fe080-52bb-450b-934d-9685110be6df",
"status": "major_outage"
}
}
}