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": "5430daa5-8d5e-40a6-8621-af09b0d21885",
    "type": "escalation_policies",
    "attributes": {
      "name": "Platform EP",
      "description": "test",
      "repeat_count": 2,
      "created_by_user_id": 132,
      "last_updated_by_user_id": 133,
      "group_ids": [
        "3bdb69aa-3c76-4b06-9693-101c455d0c74"
      ],
      "service_ids": [],
      "business_hours": {
        "time_zone": null,
        "days": [
          "F",
          "M",
          "T",
          "R",
          "W"
        ],
        "start_time": "09:00",
        "end_time": "17:00"
      },
      "created_at": "2025-12-16T18:10:08.527-08:00",
      "updated_at": "2025-12-16T18:10:11.896-08:00"
    },
    "relationships": {
      "escalation_levels": {
        "data": [
          {
            "id": "44887e70-4b1b-4193-9478-fc47ab3dac2f",
            "type": "escalation_levels"
          }
        ]
      },
      "escalation_paths": {
        "data": []
      },
      "groups": {
        "data": [
          {
            "id": "3bdb69aa-3c76-4b06-9693-101c455d0c74",
            "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