Skip to main content
DELETE
/
api
/
alerts
/
:id

Authentication

Requires an alert token in the X-Alert-Token header. You must own the alert to delete it.
X-Alert-Token: <your-alert-token>

Path Parameters

id
string
required
The unique identifier of the alert to delete.

Response

Returns 204 No Content on successful deletion.
cURL
curl -X DELETE "https://api.consumersignals.io/api/alerts/alt_abc123" \
  -H "X-Alert-Token: YOUR_ALERT_TOKEN"
Python
import requests

response = requests.delete(
    "https://api.consumersignals.io/api/alerts/alt_abc123",
    headers={"X-Alert-Token": "YOUR_ALERT_TOKEN"}
)
# 204 No Content on success
TypeScript
const response = await fetch(
  "https://api.consumersignals.io/api/alerts/alt_abc123",
  {
    method: "DELETE",
    headers: {
      "X-Alert-Token": "YOUR_ALERT_TOKEN",
    },
  }
);
// 204 No Content on success