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": "14810fcc-21fa-46fa-9095-95c93a06494b",
"type": "incident_event_services",
"attributes": {
"incident_event_id": "077d11a7-df4f-4be8-9b32-285b4b86cd00",
"service_id": "921e0085-32f0-485f-8da9-cb3a76c0ddda",
"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": "14810fcc-21fa-46fa-9095-95c93a06494b",
"type": "incident_event_services",
"attributes": {
"incident_event_id": "077d11a7-df4f-4be8-9b32-285b4b86cd00",
"service_id": "921e0085-32f0-485f-8da9-cb3a76c0ddda",
"status": "major_outage"
}
}
}