PUT
/
v1
/
incident_types
/
{id}
curl --request PUT \
  --url https://api.rootly.com/v1/incident_types/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "incident_types",
    "attributes": {
      "name": "<string>",
      "description": "<string>",
      "color": "<string>",
      "position": 123,
      "notify_emails": [
        "<string>"
      ],
      "slack_channels": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ],
      "slack_aliases": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ]
    }
  }
}'
{
  "data": {
    "id": "c837fb99-4973-4801-953f-750c99e04bd0",
    "type": "incident_types",
    "attributes": {
      "slug": "p1",
      "name": "P1",
      "description": "Medium Priority",
      "color": "#000",
      "position": 2,
      "notify_emails": [],
      "slack_channels": [],
      "slack_aliases": [],
      "created_at": "2025-03-28T23:02:40.903-07:00",
      "updated_at": "2025-03-28T23:02:44.604-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_type updated
data
object
required