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
The response is of type object
.
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": "d06f4cc1-818b-4d88-b16c-0774bd9512e6",
"type": "escalation_policies",
"attributes": {
"name": "Platform EP",
"description": "test",
"repeat_count": 2,
"created_by_user_id": 103,
"last_updated_by_user_id": 104,
"group_ids": [
"0ed402a8-558b-4063-8fcf-076dfe85bf0f"
],
"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-09-14T12:12:42.269-07:00",
"updated_at": "2025-09-14T12:12:48.497-07:00"
},
"relationships": {
"escalation_levels": {
"data": [
{
"id": "bd037482-eed5-4c61-8ef4-d3289833238f",
"type": "escalation_levels"
}
]
},
"escalation_paths": {
"data": []
},
"groups": {
"data": [
{
"id": "0ed402a8-558b-4063-8fcf-076dfe85bf0f",
"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": "d06f4cc1-818b-4d88-b16c-0774bd9512e6",
"type": "escalation_policies",
"attributes": {
"name": "Platform EP",
"description": "test",
"repeat_count": 2,
"created_by_user_id": 103,
"last_updated_by_user_id": 104,
"group_ids": [
"0ed402a8-558b-4063-8fcf-076dfe85bf0f"
],
"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-09-14T12:12:42.269-07:00",
"updated_at": "2025-09-14T12:12:48.497-07:00"
},
"relationships": {
"escalation_levels": {
"data": [
{
"id": "bd037482-eed5-4c61-8ef4-d3289833238f",
"type": "escalation_levels"
}
]
},
"escalation_paths": {
"data": []
},
"groups": {
"data": [
{
"id": "0ed402a8-558b-4063-8fcf-076dfe85bf0f",
"type": "groups"
}
]
},
"services": {
"data": []
}
}
}
}