Update a specific escalation policy by id
curl --request PUT \
--url https://api.rootly.com/v1/escalation_policies/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "escalation_policies",
"attributes": {
"name": "<string>",
"description": "<string>",
"repeat_count": 123,
"group_ids": [
"<string>"
],
"service_ids": [
"<string>"
],
"business_hours": {
"time_zone": "<string>",
"days": [
"M"
],
"start_time": "<string>",
"end_time": "<string>"
}
}
}
}'
{
"data": {
"id": "a583fcfa-4e36-4900-b39f-b0c20b9ea423",
"type": "escalation_policies",
"attributes": {
"name": "Platform EP",
"description": "test",
"repeat_count": 2,
"created_by_user_id": 87,
"last_updated_by_user_id": 88,
"group_ids": [
"52365187-18fe-4513-95c8-c383fa8f998c"
],
"service_ids": [],
"business_hours": {
"time_zone": null,
"days": [
"F",
"M",
"T",
"R",
"W"
],
"start_time": "09:00 AM",
"end_time": "05:00 PM"
},
"created_at": "2025-07-17T11:01:21.222-07:00",
"updated_at": "2025-07-17T11:01:28.056-07:00"
},
"relationships": {
"escalation_levels": {
"data": [
{
"id": "f04108e0-d421-4aff-8ea4-8415828d3ded",
"type": "escalation_levels"
}
]
},
"escalation_paths": {
"data": []
},
"groups": {
"data": [
{
"id": "52365187-18fe-4513-95c8-c383fa8f998c",
"type": "groups"
}
]
},
"services": {
"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_policies/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "escalation_policies",
"attributes": {
"name": "<string>",
"description": "<string>",
"repeat_count": 123,
"group_ids": [
"<string>"
],
"service_ids": [
"<string>"
],
"business_hours": {
"time_zone": "<string>",
"days": [
"M"
],
"start_time": "<string>",
"end_time": "<string>"
}
}
}
}'
{
"data": {
"id": "a583fcfa-4e36-4900-b39f-b0c20b9ea423",
"type": "escalation_policies",
"attributes": {
"name": "Platform EP",
"description": "test",
"repeat_count": 2,
"created_by_user_id": 87,
"last_updated_by_user_id": 88,
"group_ids": [
"52365187-18fe-4513-95c8-c383fa8f998c"
],
"service_ids": [],
"business_hours": {
"time_zone": null,
"days": [
"F",
"M",
"T",
"R",
"W"
],
"start_time": "09:00 AM",
"end_time": "05:00 PM"
},
"created_at": "2025-07-17T11:01:21.222-07:00",
"updated_at": "2025-07-17T11:01:28.056-07:00"
},
"relationships": {
"escalation_levels": {
"data": [
{
"id": "f04108e0-d421-4aff-8ea4-8415828d3ded",
"type": "escalation_levels"
}
]
},
"escalation_paths": {
"data": []
},
"groups": {
"data": [
{
"id": "52365187-18fe-4513-95c8-c383fa8f998c",
"type": "groups"
}
]
},
"services": {
"data": []
}
}
}
}