Update a specific escalation path by id
curl --request PUT \
--url https://api.rootly.com/v1/escalation_paths/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "escalation_paths",
"attributes": {
"name": "<string>",
"notification_type": "audible",
"default": true,
"match_mode": "match-all-rules",
"position": 123,
"repeat": true,
"repeat_count": 123,
"initial_delay": 123,
"rules": [
{
"rule_type": "alert_urgency",
"urgency_ids": [
"<any>"
]
}
],
"time_restriction_time_zone": "International Date Line West",
"time_restrictions": [
{
"start_day": "monday",
"start_time": "<string>",
"end_day": "monday",
"end_time": "<string>"
}
]
}
}
}'
{
"data": {
"id": "589d2341-360f-4ebe-b756-50b8c176d034",
"type": "escalation_paths",
"attributes": {
"name": "Quod inventore ea officiis.",
"default": false,
"notification_type": "quiet",
"escalation_policy_id": "f8738afc-fafc-455d-a5d3-dd5b4f431b1c",
"match_mode": "match-all-rules",
"position": 1,
"repeat": false,
"repeat_count": 1,
"initial_delay": 0,
"time_restriction_time_zone": "America/New_York",
"time_restrictions": [
{
"start_day": "monday",
"start_time": "17:00",
"end_day": "tuesday",
"end_time": "07:00"
},
{
"start_day": "wednesday",
"start_time": "09:00",
"end_day": "wednesday",
"end_time": "20:00"
}
],
"created_at": "2025-09-10T23:00:01.726-07:00",
"updated_at": "2025-09-10T23:00:03.026-07:00",
"rules": [
{
"rule_type": "alert_urgency",
"urgency_ids": [
"1dad5432-0f83-4491-a0bc-1aa02274564f"
]
}
]
},
"relationships": {
"escalation_levels": {
"data": []
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
escalation policy updated
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/escalation_paths/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "escalation_paths",
"attributes": {
"name": "<string>",
"notification_type": "audible",
"default": true,
"match_mode": "match-all-rules",
"position": 123,
"repeat": true,
"repeat_count": 123,
"initial_delay": 123,
"rules": [
{
"rule_type": "alert_urgency",
"urgency_ids": [
"<any>"
]
}
],
"time_restriction_time_zone": "International Date Line West",
"time_restrictions": [
{
"start_day": "monday",
"start_time": "<string>",
"end_day": "monday",
"end_time": "<string>"
}
]
}
}
}'
{
"data": {
"id": "589d2341-360f-4ebe-b756-50b8c176d034",
"type": "escalation_paths",
"attributes": {
"name": "Quod inventore ea officiis.",
"default": false,
"notification_type": "quiet",
"escalation_policy_id": "f8738afc-fafc-455d-a5d3-dd5b4f431b1c",
"match_mode": "match-all-rules",
"position": 1,
"repeat": false,
"repeat_count": 1,
"initial_delay": 0,
"time_restriction_time_zone": "America/New_York",
"time_restrictions": [
{
"start_day": "monday",
"start_time": "17:00",
"end_day": "tuesday",
"end_time": "07:00"
},
{
"start_day": "wednesday",
"start_time": "09:00",
"end_day": "wednesday",
"end_time": "20:00"
}
],
"created_at": "2025-09-10T23:00:01.726-07:00",
"updated_at": "2025-09-10T23:00:03.026-07:00",
"rules": [
{
"rule_type": "alert_urgency",
"urgency_ids": [
"1dad5432-0f83-4491-a0bc-1aa02274564f"
]
}
]
},
"relationships": {
"escalation_levels": {
"data": []
}
}
}
}