---
title: "Delete Strategy"
method: DELETE
path: "/v1/strategies/{strategy_id}"
tags: ["strategies"]
---

# Delete Strategy

`DELETE /v1/strategies/{strategy_id}`

## Request

- Base URL: `https://api.usekeel.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.usekeel.io/v1/strategies/{strategy_id}`
- Auth: none declared

Hard-delete a strategy and its backtest runs.

Refuses with a coded 409 — never a 500 — when the strategy has work in
flight or retains history the platform keeps (see
``_DELETE_RETAINED_HISTORY_SQL`` above). Archive
(``POST /v1/strategies/{id}/archive``) is the path for those.

## Path parameters

- `strategy_id` string, required

## Headers

- `Authorization` string, nullable
- `X-Org-Id` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usekeel/apis/keel-api.md) · [All operations](https://skmtc.dev/usekeel/apis/keel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/usekeel/apis/keel-api/revisions/3191ca10b0ab?raw)
