Remove escalation policy

Permanently deletes an existing escalation policy. A policy still used by monitors, heartbeats, integrations or other resources can't be deleted until you point them to another escalation policy.

DELETE https://incidents.betterstack.com/api/v3/policies/{policy_id}

URL parameters

policy_id
required integer

Headers

Authorization
required string
204
422

Response body

{
  "errors": "Cannot remove this escalation policy because it is used in 1 monitor and 1 heartbeat."
}
503

Response body

{
  "errors": "Couldn't remove this escalation policy. Please try again in a moment."
}

Example cURL

Example
curl --request DELETE \
  --url https://incidents.betterstack.com/api/v3/policies/456 \
  --header "Authorization: Bearer $TOKEN"