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

# Delete alert

`DELETE /v0/alerts/{alertId}`

## Request

- Base URL: `https://api.formo.so`
- URL: `https://api.formo.so/v0/alerts/{alertId}`
- Auth: HTTP bearer

## Path parameters

- `alertId` string, required

## Headers

- `Idempotency-Key` string

## Response `200`

Alert deleted

- number

## Other responses

- `400`: The request was rejected. `code` is either `INVALID_VALIDATION_REQUEST` (Zod schema mismatch; `details` carries a `{ fieldPath: message }` map) or `BAD_REQUEST` (semantic validation failure outside Zod, e.g. mismatched IDs, business-rule violations). Branch on `code`, not status, to tell the two apart.
- `404`: The requested resource does not exist or is not visible to this API key's workspace.
- `409`: The request conflicts with current resource state, or an `Idempotency-Key` request with the same key is currently in flight.

---

[API](https://skmtc.dev/formo/apis/formo-public-api.md) · [All operations](https://skmtc.dev/formo/apis/formo-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/formo/apis/formo-public-api/revisions/67ada57df63c?raw)
