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

# Delete Wan video task

> Cancel or delete a Wan 2.7 or Wan Animate task.

```text theme={"dark"}
DELETE https://gengen.farm/api/gengen/v1/contents/generations/tasks/{id}
```

Delete a Wan video task with its public `wan27:` or `wananimate:` ID. GENGEN verifies ownership
and resolves the public ID before forwarding the operation.

[Try the delete workflow](https://gengen.farm/api-explorer/demos/wan-video-generation-delete).

## Path parameter

<ParamField path="id" type="string" required>
  Public task ID returned by the create endpoint. URL-encode the value when placing it in the
  request path.
</ParamField>

```bash theme={"dark"}
curl --request DELETE \
  --url https://gengen.farm/api/gengen/v1/contents/generations/tasks/wan27%3Awan-remote-task \
  --header 'Authorization: Bearer gengen_live_xxxxxxxxxxxxxxxx'
```

## Response

A successful delete returns:

```text theme={"dark"}
204 No Content
```

There is no response body.

<Warning>
  A provider can reject deletion while a task is actively processing. Treat deletion as
  successful only after receiving `204 No Content`.
</Warning>

Delete requests do not create a generation charge.
