---
title: "Delete a run"
method: DELETE
path: "/v1/runs/{id}"
tags: ["Runs"]
---

# Delete a run

`DELETE /v1/runs/{id}`

## Request

- Base URL: `https://api.lunary.ai`
- URL: `https://api.lunary.ai/v1/runs/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lunary/apis/lunary-api/docs/v1/runs/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a specific run by its ID. This action is irreversible.

## Path parameters

- `id` string, required

## Response `204`

Run successfully deleted

## Other responses

- `403`: Forbidden - User doesn't have permission to delete runs
- `404`: Run not found
- `409`: Run has descendants in another project

---

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