Update a specific incident_role by id
curl --request PUT \
--url https://api.rootly.com/v1/incident_roles/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "incident_roles",
"attributes": {
"name": "<string>",
"summary": "<string>",
"description": "<string>",
"position": 123,
"optional": true,
"enabled": true,
"allow_multi_user_assignment": true
}
}
}'
{
"data": {
"id": "a8df7c44-574d-4bc9-904c-46a61014e070",
"type": "incident_roles",
"attributes": {
"slug": "my-incident-role-updated",
"name": "My Incident Role Updated",
"summary": "My Incident Role Summary Updated",
"description": "My Incident Role Description Updated",
"position": 2,
"optional": true,
"enabled": true,
"allow_multi_user_assignment": false,
"created_at": "2025-07-17T11:04:27.898-07:00",
"updated_at": "2025-07-17T11:04:30.779-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
incident_role updated
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/incident_roles/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "incident_roles",
"attributes": {
"name": "<string>",
"summary": "<string>",
"description": "<string>",
"position": 123,
"optional": true,
"enabled": true,
"allow_multi_user_assignment": true
}
}
}'
{
"data": {
"id": "a8df7c44-574d-4bc9-904c-46a61014e070",
"type": "incident_roles",
"attributes": {
"slug": "my-incident-role-updated",
"name": "My Incident Role Updated",
"summary": "My Incident Role Summary Updated",
"description": "My Incident Role Description Updated",
"position": 2,
"optional": true,
"enabled": true,
"allow_multi_user_assignment": false,
"created_at": "2025-07-17T11:04:27.898-07:00",
"updated_at": "2025-07-17T11:04:30.779-07:00"
}
}
}