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": "cf78d82d-82fd-41c5-9795-c5fe1a2e5dd3",
    "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": [
        "f71e61f4-f6f8-403e-9af4-005ca4c15f95"
      ],
      "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-15T13:42:49.103-08:00",
      "updated_at": "2025-12-15T13:43:00.911-08:00"
    },
    "relationships": {
      "escalation_levels": {
        "data": [
          {
            "id": "a5e40f15-9b7d-4e5f-9b75-2e5705246691",
            "type": "escalation_levels"
          }
        ]
      },
      "escalation_paths": {
        "data": []
      },
      "groups": {
        "data": [
          {
            "id": "f71e61f4-f6f8-403e-9af4-005ca4c15f95",
            "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