---
title: "Delete an alert"
method: DELETE
path: "/alerts/{alert}"
tags: ["Alerts"]
---

# Delete an alert

`DELETE /alerts/{alert}`

## Request

- Base URL: `https://api.spectate.net/v1`
- URL: `https://api.spectate.net/v1/alerts/{alert}`
- Auth: HTTP bearer

Deletes a resolved alert for good, with its escalation history. Incidents and status page
incidents it led to stay, without the link to it; messages already posted in Slack or Telegram
stay in their channels. A firing alert can't be deleted: resolve it first.

## Path parameters

- `alert` string, uuid, required

## Response `204`

No content

## Other responses

- `401`: `UNAUTHENTICATED`: no token was sent. `INVALID_TOKEN`: the token is unknown or revoked. `TOKEN_EXPIRED`: the token has expired.
- `403`: `FORBIDDEN`: the token lacks an ability this endpoint requires (listed in `details.required_abilities`). `TEAM_PENDING_DELETION`: the team is scheduled for deletion. `TEAM_SUSPENDED`: Spectate suspended the team.
- `404`: `RESOURCE_NOT_FOUND`: there is no such resource in this team.
- `409`: `ALERT_FIRING`: the alert is still firing; resolve it before deleting it.
- `429`: `RATE_LIMITED`: too many requests for this token. Wait for the number of seconds in `Retry-After`.

---

[API](https://skmtc.dev/spectate/apis/spectate-api.md) - [All operations](https://skmtc.dev/spectate/apis/spectate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spectate/apis/spectate-api/revisions/9b1a233997de?raw)
