---
title: "Delete Task"
method: DELETE
path: "/tasks/{task_id}"
tags: ["Tasks"]
---

# Delete Task

`DELETE /tasks/{task_id}`

Delete a task by its ID.

Requirements:
- Task must have status `Succeeded` or `Failed`

## Path parameters

- `task_id` string, nullable, required

## Response `200`

Task deleted successfully

## Other responses

- `401` — Unauthorized
- `404` — Task not found
- `500` — Server error

---

[API](https://skmtc.net/chunkr/apis/chunkr-api.md) · [All operations](https://skmtc.net/chunkr/apis/chunkr-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chunkr/chunkr-api/versions/cfcf1ff1cbb0/schema)
