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": "e0bdff47-4cd1-4769-9905-2731882fdad5",
    "type": "escalation_policies",
    "attributes": {
      "name": "Platform EP",
      "description": "test",
      "repeat_count": 2,
      "created_by_user_id": 273,
      "last_updated_by_user_id": 274,
      "group_ids": [
        "f39bd2fa-2ff0-4b08-b908-0499a395fac1"
      ],
      "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-26T07:32:05.742-08:00",
      "updated_at": "2026-01-26T07:32:09.040-08:00"
    },
    "relationships": {
      "escalation_levels": {
        "data": [
          {
            "id": "e82b87fe-ce27-427a-9d16-b79d88ec39ae",
            "type": "escalation_levels"
          }
        ]
      },
      "escalation_paths": {
        "data": []
      },
      "groups": {
        "data": [
          {
            "id": "f39bd2fa-2ff0-4b08-b908-0499a395fac1",
            "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