PUT
/
v1
/
incident_roles
/
{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": "80a7a370-57ab-45ee-a958-ea99fab210bf",
    "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-05-08T00:21:43.531-07:00",
      "updated_at": "2025-05-08T00:21:47.219-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/vnd.api+json

Response

200
application/vnd.api+json
incident_role updated

The response is of type object.