---
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

## Changes

- **2026-07-26** `c0926990c662` — 1 breaking, 1 info
  - removed the success response with the status `204`
  - added the success response with the status `200`

[Change history](https://skmtc.dev/twelvelabs/apis/twelvelabs-api/changes/analyze/tasks/:task_id/delete.md)

---

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