Skip to main content
PUT
/
v1
/
escalation_policies
/
{id}
Update an escalation policy
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": "19450f41-f243-403a-96fa-86569e475bc4",
    "type": "escalation_policies",
    "attributes": {
      "name": "Platform EP",
      "description": "test",
      "repeat_count": 2,
      "created_by_user_id": 135,
      "last_updated_by_user_id": 136,
      "group_ids": [
        "60cee161-c2d9-4a17-90cd-7b158aef121c"
      ],
      "service_ids": [],
      "business_hours": {
        "time_zone": null,
        "days": [
          "F",
          "M",
          "T",
          "R",
          "W"
        ],
        "start_time": "09:00",
        "end_time": "17:00"
      },
      "created_at": "2026-01-06T04:27:01.716-08:00",
      "updated_at": "2026-01-06T04:27:05.161-08:00"
    },
    "relationships": {
      "escalation_levels": {
        "data": [
          {
            "id": "936fae1e-bf8e-4f26-9b4e-abd46e40e2bb",
            "type": "escalation_levels"
          }
        ]
      },
      "escalation_paths": {
        "data": []
      },
      "groups": {
        "data": [
          {
            "id": "60cee161-c2d9-4a17-90cd-7b158aef121c",
            "type": "groups"
          }
        ]
      },
      "services": {
        "data": []
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/vnd.api+json
data
object
required

Response

escalation policy updated

data
object
required