Update a specific incident event functionality by id
curl --request PUT \
--url https://api.rootly.com/v1/incident_event_functionalities/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "incident_event_functionalities",
"attributes": {
"status": "operational"
}
}
}'
{
"data": {
"id": "5d698f21-c18c-4fb1-8ebc-036059a65452",
"type": "incident_event_functionalities",
"attributes": {
"incident_event_id": "f562913c-eade-4456-b1ef-150a3da30839",
"functionality_id": "2359a20f-bec5-45d7-8a74-c263bebec733",
"status": "major_outage"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
incident_event_functionality updated
The response is of type object
.
curl --request PUT \
--url https://api.rootly.com/v1/incident_event_functionalities/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "incident_event_functionalities",
"attributes": {
"status": "operational"
}
}
}'
{
"data": {
"id": "5d698f21-c18c-4fb1-8ebc-036059a65452",
"type": "incident_event_functionalities",
"attributes": {
"incident_event_id": "f562913c-eade-4456-b1ef-150a3da30839",
"functionality_id": "2359a20f-bec5-45d7-8a74-c263bebec733",
"status": "major_outage"
}
}
}