Update a specific severity by id
curl --request PUT \
--url https://api.rootly.com/v1/severities/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "severities",
"attributes": {
"name": "<string>",
"description": "<string>",
"severity": "critical",
"color": "<string>",
"position": 123,
"notify_emails": [
"<string>"
],
"slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
],
"slack_aliases": [
{
"id": "<string>",
"name": "<string>"
}
]
}
}
}'
{
"data": {
"id": "c60f6e61-0f91-4145-ae0b-df154bae73d2",
"type": "severities",
"attributes": {
"name": "P1",
"slug": "p1",
"description": "Medium Priority",
"severity": "medium",
"color": "#000",
"position": 2,
"notify_emails": [],
"slack_channels": [],
"slack_aliases": [],
"created_at": "2025-07-17T12:13:35.297-07:00",
"updated_at": "2025-07-17T12:13:39.722-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
severity updated
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/severities/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "severities",
"attributes": {
"name": "<string>",
"description": "<string>",
"severity": "critical",
"color": "<string>",
"position": 123,
"notify_emails": [
"<string>"
],
"slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
],
"slack_aliases": [
{
"id": "<string>",
"name": "<string>"
}
]
}
}
}'
{
"data": {
"id": "c60f6e61-0f91-4145-ae0b-df154bae73d2",
"type": "severities",
"attributes": {
"name": "P1",
"slug": "p1",
"description": "Medium Priority",
"severity": "medium",
"color": "#000",
"position": 2,
"notify_emails": [],
"slack_channels": [],
"slack_aliases": [],
"created_at": "2025-07-17T12:13:35.297-07:00",
"updated_at": "2025-07-17T12:13:39.722-07:00"
}
}
}