> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tokenlab.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel Task (Volc Compatible)

> Cancel a queued or cancellable Seedance compatibility task.

## Overview

Cancellation is best-effort and only succeeds while the task is still cancellable. A successful DELETE returns HTTP 200 with an empty body. Query the task afterward if you need to confirm the final state.

See also [Seedance 2.0 Video Models](/guides/seedance-2-video) and [Video Generation](/guides/video-generation).

## Cancellation Semantics

* The request can succeed while the task is queued or still cancellable.
* If the task has already completed, failed, expired, or is no longer cancellable, the endpoint returns an error; query the task to confirm its current state.
* A cancelled task does not return a video result.

## Example

```bash theme={null}
curl -X DELETE https://api.tokenlab.sh/api/v3/contents/generations/tasks/cgt-0123456789abcdef0123456789abcdef \
  -H "Authorization: Bearer $TOKENLAB_API_KEY"
```
