Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
escalation policy updated
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": "International Date Line West",
"days": [
"M"
],
"start_time": "<string>",
"end_time": "<string>"
}
}
}
}'{
"data": {
"id": "3fc46ac6-ac92-43ed-8df7-93fe7bef4584",
"type": "escalation_policies",
"attributes": {
"name": "Platform EP",
"description": "test",
"repeat_count": 2,
"created_by_user_id": 130,
"last_updated_by_user_id": 131,
"group_ids": [
"fc59855c-8e83-4160-905f-006f5a31c28e"
],
"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-11-05T13:05:26.104-08:00",
"updated_at": "2025-11-05T13:05:31.817-08:00"
},
"relationships": {
"escalation_levels": {
"data": [
{
"id": "2e201854-a1be-4ea0-955b-a01ec0e24ab0",
"type": "escalation_levels"
}
]
},
"escalation_paths": {
"data": []
},
"groups": {
"data": [
{
"id": "fc59855c-8e83-4160-905f-006f5a31c28e",
"type": "groups"
}
]
},
"services": {
"data": []
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
escalation policy updated
Show child attributes
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": "International Date Line West",
"days": [
"M"
],
"start_time": "<string>",
"end_time": "<string>"
}
}
}
}'{
"data": {
"id": "3fc46ac6-ac92-43ed-8df7-93fe7bef4584",
"type": "escalation_policies",
"attributes": {
"name": "Platform EP",
"description": "test",
"repeat_count": 2,
"created_by_user_id": 130,
"last_updated_by_user_id": 131,
"group_ids": [
"fc59855c-8e83-4160-905f-006f5a31c28e"
],
"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-11-05T13:05:26.104-08:00",
"updated_at": "2025-11-05T13:05:31.817-08:00"
},
"relationships": {
"escalation_levels": {
"data": [
{
"id": "2e201854-a1be-4ea0-955b-a01ec0e24ab0",
"type": "escalation_levels"
}
]
},
"escalation_paths": {
"data": []
},
"groups": {
"data": [
{
"id": "fc59855c-8e83-4160-905f-006f5a31c28e",
"type": "groups"
}
]
},
"services": {
"data": []
}
}
}
}