---
title: "Delete an analysis task"
method: DELETE
path: "/analyze/tasks/{task_id}"
tags: ["analyzeAsync > tasks"]
---

# Delete an analysis task

`DELETE /analyze/tasks/{task_id}`

This method deletes an analysis task. You can only delete tasks that are not currently being processed.

## Path parameters

- `task_id` string, required

## Headers

- `x-api-key` string, required

## Response `200`

Successful response

## Other responses

- `404` — Task not found
- `409` — Cannot delete task while it is being processed

---

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