Remove an alert
Delete an alert permanently, along with its anomaly model. The alert's open incidents are resolved.
DELETE
https://telemetry.betterstack.com/api/v3/alerts/{id}
id
string
required
The ID of the alert to remove.
team_id
string
Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.
Authorization
string
required
Bearer $TOKEN
204
The alert is deleted. The response has no body.
401
The API token is missing or invalid.
401 Unauthorized
{
"errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/logs/api/getting-started/#obtaining-a-logtail-api-token"
}
403
The token is read-only, your role doesn't include Manage on Dashboards, or its scopes don't permit the action.
403 Forbidden
{
"errors": "This API token is read-only and cannot be used for write operations."
}
404
The alert doesn't exist, or the token can't access it.
404 Not Found
{
"errors": "Resource with the provided ID was not found"
}
Example cURL
Delete an alert