---
title: "Delete an alert rule and its delivery history; answers removed:false when it did not exist."
method: DELETE
path: "/v1/workspaces/{ws}/alerts/{alertId}"
tags: ["alerts"]
---

# Delete an alert rule and its delivery history; answers removed:false when it did not exist.

`DELETE /v1/workspaces/{ws}/alerts/{alertId}`

## Request

- Base URL: `https://api.storequant.com`
- URL: `https://api.storequant.com/v1/workspaces/{ws}/alerts/{alertId}`
- Auth: HTTP bearer

Delete an alert rule and its delivery history; answers removed:false when it did not exist. Scope `alerts:write`; cache `none`.

## Path parameters

- `ws` string, required
- `alertId` string, uuid, required

## Request body

- object

## Response `200`

Success.

- object
  - `data` object, required
    - `id` string, uuid, required
    - `workspace_id` string, required
    - `removed` boolean, required
  - `meta` object, required
    - `request_id` string, required
    - `as_of` string, date-time, required
    - `lag_hours` number
    - `cursor` string
    - `count` integer

## Other responses

- `4XX`: The one error shape.
- `5XX`: The one error shape.

---

[API](https://skmtc.dev/scrollstash/apis/storequant-api.md) · [All operations](https://skmtc.dev/scrollstash/apis/storequant-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scrollstash/apis/storequant-api/revisions/c556e643d689?raw)
