PUT
/
v1
/
escalation_policies
/
{id}
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": "<string>",
        "days": [
          "M"
        ],
        "start_time": "<string>",
        "end_time": "<string>"
      }
    }
  }
}'
{
  "data": {
    "id": "6ad9f6e5-8036-49bd-b440-17ddfab724be",
    "type": "escalation_policies",
    "attributes": {
      "name": "Platform EP",
      "description": "test",
      "repeat_count": 2,
      "created_by_user_id": 86,
      "last_updated_by_user_id": 87,
      "group_ids": [
        "8c9e12c8-3d72-42e0-b06e-daa5c4e3a35b"
      ],
      "service_ids": [],
      "business_hours": {
        "time_zone": null,
        "days": [
          "F",
          "M",
          "T",
          "R",
          "W"
        ],
        "start_time": "09:00 AM",
        "end_time": "05:00 PM"
      },
      "created_at": "2025-06-19T02:38:57.765-07:00",
      "updated_at": "2025-06-19T02:39:03.773-07:00"
    },
    "relationships": {
      "escalation_levels": {
        "data": [
          {
            "id": "b4a4ab93-6057-4b75-8a85-b374b5915f78",
            "type": "escalation_levels"
          }
        ]
      },
      "escalation_paths": {
        "data": []
      },
      "groups": {
        "data": [
          {
            "id": "8c9e12c8-3d72-42e0-b06e-daa5c4e3a35b",
            "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

Response

200
application/vnd.api+json

escalation policy updated

The response is of type object.