---
title: "Delete a task that has not started, or one that is paused, completed or needs attention"
method: DELETE
path: "/v1/tasks/{id}"
---

# Delete a task that has not started, or one that is paused, completed or needs attention

`DELETE /v1/tasks/{id}`

## Request

- Base URL: `https://volai.cz`
- URL: `https://volai.cz/v1/tasks/{id}`
- Auth: HTTP bearer

Deletes the task and all of its items - only in `draft`/`ready`/`paused`/`completed`/`needs_attention` status, WITHOUT an `in_progress` item. `revision` is read from `?revision=` OR a JSON body `{"revision": ...}` (the query parameter wins).

## Path parameters

- `id` string, required

## Query parameters

- `revision` integer

## Request body

- object
  - `revision` integer, required: Current task revision from GET /v1/tasks/{id}. On revision_conflict reload and review the new state before retrying. Reconciliation accepts omission; other task changes require the current revision.

## Response `200`

Deleted

- object
  - `deleted` true, required

## Other responses

- `400`: Error codes: validation (request).
- `401`: Error codes: unauthorized (request).
- `403`: Error codes: account_suspended (account).
- `404`: Error codes: task_not_found (account).
- `409`: Error codes: revision_conflict (request), task_not_deletable (account).
- `429`: Error codes: rate_limited (busy).
- `500`: Error codes: internal_error (service).

---

[API](https://skmtc.dev/volai/apis/volai-rest-api.md) · [All operations](https://skmtc.dev/volai/apis/volai-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/volai/apis/volai-rest-api/revisions/12029b05e2fa?raw)
