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": "ef99df15-870b-4ca2-bdb4-0b57fec77765",
"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": [
"1070f738-076d-432e-b12e-7fe0ed9cda77"
],
"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-10-05T17:23:46.408-07:00",
"updated_at": "2025-10-05T17:23:50.722-07:00"
},
"relationships": {
"escalation_levels": {
"data": [
{
"id": "6af8d2f8-e2b8-4da4-8985-499191caa005",
"type": "escalation_levels"
}
]
},
"escalation_paths": {
"data": []
},
"groups": {
"data": [
{
"id": "1070f738-076d-432e-b12e-7fe0ed9cda77",
"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": "ef99df15-870b-4ca2-bdb4-0b57fec77765",
"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": [
"1070f738-076d-432e-b12e-7fe0ed9cda77"
],
"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-10-05T17:23:46.408-07:00",
"updated_at": "2025-10-05T17:23:50.722-07:00"
},
"relationships": {
"escalation_levels": {
"data": [
{
"id": "6af8d2f8-e2b8-4da4-8985-499191caa005",
"type": "escalation_levels"
}
]
},
"escalation_paths": {
"data": []
},
"groups": {
"data": [
{
"id": "1070f738-076d-432e-b12e-7fe0ed9cda77",
"type": "groups"
}
]
},
"services": {
"data": []
}
}
}
}