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": "589f93b0-896b-4566-81cb-da85b1b64a4b",
"type": "incident_event_functionalities",
"attributes": {
"incident_event_id": "f6634306-7020-4308-9cde-c9d00c8ae332",
"functionality_id": "13aad545-7dd3-4c75-918a-e72102982956",
"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": "589f93b0-896b-4566-81cb-da85b1b64a4b",
"type": "incident_event_functionalities",
"attributes": {
"incident_event_id": "f6634306-7020-4308-9cde-c9d00c8ae332",
"functionality_id": "13aad545-7dd3-4c75-918a-e72102982956",
"status": "major_outage"
}
}
}