---
title: "Delete Task (Legacy)"
method: DELETE
path: "/v1/task/{taskId}"
tags: ["Tasks (Legacy)"]
---

# Delete Task (Legacy)

`DELETE /v1/task/{taskId}`

## Request

- Base URL: `https://api.anchorbrowser.io`
- URL: `https://api.anchorbrowser.io/v1/task/{taskId}`
- Auth: API key in header `anchor-api-key`

Soft deletes a task and all its versions. The task will no longer be accessible
but the data is preserved for potential recovery.

If you are using the new Task Builder, see the non-deprecated Tasks endpoints in this API reference.

## Path parameters

- `taskId` string, uuid, required

## Response `200`

Task deleted successfully

- DeleteTaskResponse
  - `data` object
    - `success` boolean, required: Whether the deletion was successful
    - `message` string, required: Deletion result message

## Other responses

- `404`: Task not found
- `500`: Failed to delete task

## Changes

- **2026-10-16** `b3bfdb98c79e`: 1 info
  - endpoint added
- **2026-03-20** `c1198ecebd31`: 1 breaking
  - api path removed without deprecation
- **2026-02-25** `ae25b3e0f20d`: 2 info
  - api tag `Tasks (Legacy)` added
  - api tag `Tasks` removed
- **2026-02-18** `4d2d945e5967`: 2 info
  - api tag `Tasks` added
  - api tag `Tasks (Legacy)` removed
- **2026-02-18** `cdc369172404`: 2 info
  - api tag `Tasks (Legacy)` added
  - api tag `Tasks` removed

[Operation history](https://skmtc.dev/anchorbrowser/apis/anchorbrowser-api/changes/v1/task/:taskId/delete.md)

---

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