---
title: "Delete an anomaly detection configuration"
method: DELETE
path: "/api/{org_id}/anomaly_detection/{config_id}"
tags: ["Anomaly Detection"]
---

# Delete an anomaly detection configuration

`DELETE /api/{org_id}/anomaly_detection/{config_id}`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/anomaly_detection/{config_id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/anomaly_detection/:config_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `org_id` string, required
- `config_id` string, required

## Response `200`

Success

- DeleteResponse
  - `message` string, required

## Other responses

- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
