Remove a heartbeat

Delete a heartbeat permanently. The heartbeat's ping URL stops working, it's removed from every status page that shows it, its metadata is deleted, and its open incidents resolve. Deleting a heartbeat can't be undone.

DELETE https://incidents.betterstack.com/api/v3/heartbeats/{id}

URL parameters

id
required string

Query parameters

team_id
string

Headers

Authorization
required string
204
401

Response body

{
  "errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
403

Response body

{
  "errors": "This API token is read-only and cannot be used for write operations."
}
404

Example cURL

Delete a heartbeat
curl --request DELETE \
  --url https://incidents.betterstack.com/api/v3/heartbeats/12345 \
  --header "Authorization: Bearer $TOKEN"