PUT
/
v1
/
escalation_paths
/
{id}
curl --request PUT \
  --url https://api.rootly.com/v1/escalation_paths/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "escalation_paths",
    "attributes": {
      "name": "<string>",
      "notification_type": "audible",
      "default": true,
      "match_mode": "match-all-rules",
      "position": 123,
      "repeat": true,
      "repeat_count": 123,
      "rules": [
        {
          "rule_type": "alert_urgency",
          "urgency_ids": [
            "<any>"
          ]
        }
      ]
    }
  }
}'
{
  "data": {
    "id": "023ce00f-a044-4ae2-aef0-5bc393b432f3",
    "type": "escalation_paths",
    "attributes": {
      "name": "Sit excepturi velit sunt.",
      "default": false,
      "notification_type": "quiet",
      "escalation_policy_id": "409dede3-07aa-4870-8f41-c11d5a07a79e",
      "match_mode": "match-all-rules",
      "position": 1,
      "repeat": false,
      "repeat_count": 1,
      "created_at": "2025-03-26T23:19:11.706-07:00",
      "updated_at": "2025-03-26T23:19:13.884-07:00",
      "rules": [
        {
          "rule_type": "alert_urgency",
          "urgency_ids": [
            "cda60a8e-9524-4c41-b5ce-0478a5ebb000"
          ]
        }
      ]
    },
    "relationships": {
      "escalation_levels": {
        "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

200
application/vnd.api+json
escalation policy updated
data
object
required