Update a specific incident_type by 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": "f0524b65-975b-43b8-b6ba-72b6702179a0",
"type": "incident_types",
"attributes": {
"slug": "p1",
"name": "P1",
"description": "Medium Priority",
"color": "#000",
"position": 2,
"notify_emails": [],
"slack_channels": [],
"slack_aliases": [],
"created_at": "2025-07-28T13:05:07.563-07:00",
"updated_at": "2025-07-28T13:05:10.256-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
incident_type updated
The response is of type object
.
Was this page helpful?
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": "f0524b65-975b-43b8-b6ba-72b6702179a0",
"type": "incident_types",
"attributes": {
"slug": "p1",
"name": "P1",
"description": "Medium Priority",
"color": "#000",
"position": 2,
"notify_emails": [],
"slack_channels": [],
"slack_aliases": [],
"created_at": "2025-07-28T13:05:07.563-07:00",
"updated_at": "2025-07-28T13:05:10.256-07:00"
}
}
}