# 取消 / 删除视频任务（ARK 兼容路径）

用上游任务 ID 取消排队中的任务或删除已完成 / 失败的记录。语义与
`DELETE /v1/videos/generations/{taskId}` 相同。

## DELETE /v1/contents/generations/tasks/{taskId}

> Cancel / delete video task (ARK alias)

Cancel a queued task or delete a finished one by upstream task id.
Same semantics as `DELETE /v1/videos/generations/{taskId}`.

### Authentication

`Authorization: Bearer tr-xxx`

### Path Parameters

- **taskId** `string` **(required)**  
  Upstream task id

### Response

HTTP 204 No Content

### Error Codes

- `401`: 
- `404`: Task not found or not owned by the caller
