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": "22c1110a-c5c8-4b76-be7b-a6e087137dbf",
    "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-03-28T23:02:25.956-07:00",
      "updated_at": "2025-03-28T23:02:30.202-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
data
object
required

Response

200
application/vnd.api+json
incident_role updated
data
object
required