Replace a escalation policy
PUT/v1/on-call/configurations/{configurationId}/escalation-policies/{policyId}requires on_call:write
Replaces the whole definition. Each step pages a responder or whoever a schedule has on call, delaySeconds after the incident opens, until someone acknowledges. Delete is refused while heartbeats point at the policy, and for a policy that has paged incidents, which is kept for their history. Every change bumps the configuration revision, turns paging off until the next drill and activation, and cancels pending escalation, exactly as a dashboard edit does. Only live keys may write; test keys are refused because configuration is shared by live and test incidents.
Requestcurl -X PUT https://api.transmit.dev/v1/on-call/configurations/{configurationId}/escalation-policies/{policyId} \
-H "Authorization: Bearer tr_v2_…" \
-H "Content-Type: application/json" \
-d '{
"name": "…",
"steps": [
{}
]
}'Parameters
| Name | In | Notes |
|---|---|---|
configurationId required | path | The on-call configuration id. |
policyId required | path | The escalation policy id. |
Body
| Field | Type | Notes |
|---|---|---|
name required | string | 1–120 characters |
ownerTeamId | string or null | defaults to null |
steps required | object[] | at most 100 |
Responses
| Status | Meaning |
|---|---|
200 | escalation policy |
401 | The API key is missing, malformed, expired or revoked |
403 | The API key lacks the on_call:write scope |
404 | Configuration or resource not found in this workspace |
409 | The change conflicts with existing definitions, or the resource is still referenced |
415 | Use application/json |
422 | Invalid definition; details.issues names the fields |
Every response body is described in the OpenAPI spec, which this page is generated from.