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": "7a566e8b-6c1d-44e5-b3b1-e9ff26038a30",
    "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": [
        "703bf7f4-f078-4a61-aa3a-48ef9f665821"
      ],
      "service_ids": [],
      "business_hours": {
        "time_zone": null,
        "days": [
          "F",
          "M",
          "T",
          "R",
          "W"
        ],
        "start_time": "09:00",
        "end_time": "17:00"
      },
      "created_at": "2025-11-27T00:07:17.925-08:00",
      "updated_at": "2025-11-27T00:07:22.270-08:00"
    },
    "relationships": {
      "escalation_levels": {
        "data": [
          {
            "id": "4b05afb7-98f3-4c35-a231-1389f74293ca",
            "type": "escalation_levels"
          }
        ]
      },
      "escalation_paths": {
        "data": []
      },
      "groups": {
        "data": [
          {
            "id": "703bf7f4-f078-4a61-aa3a-48ef9f665821",
            "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