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": "0463faf2-e509-4568-80d4-ff4817b0c587",
"type": "incident_event_functionalities",
"attributes": {
"incident_event_id": "77f079b5-d619-42e8-b7a4-1e597f1a1ca4",
"functionality_id": "cca72cb8-ee17-41fc-8c91-f13c17c38d6c",
"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": "0463faf2-e509-4568-80d4-ff4817b0c587",
"type": "incident_event_functionalities",
"attributes": {
"incident_event_id": "77f079b5-d619-42e8-b7a4-1e597f1a1ca4",
"functionality_id": "cca72cb8-ee17-41fc-8c91-f13c17c38d6c",
"status": "major_outage"
}
}
}