Cancel or Delete a Video Generation Task
BytePlus API Compat
Cancel or Delete a Video Generation Task
Cancels a queued video generation task, or deletes a video generation task record.
DELETE
Cancel or Delete a Video Generation Task
Authorizations
Pass Authorization: Bearer <token> in the request header.
Path Parameters
The ID of the video generation task to be canceled or deleted.
The operation performed by the DELETE API varies depending on the status of the video generation task:
| Task Status | Can it be deleted? | Operation Description | Post-DELETE Task Status |
|---|---|---|---|
| queued | Yes | The task is removed from the queue and its status is updated to cancelled. | cancelled |
| running | No | - | - |
| succeeded | Yes | The video generation task record is deleted and will no longer be queryable. | - |
| failed | Yes | The video generation task record is deleted and will no longer be queryable. | - |
| cancelled | No | - | - |
| expired | Yes | The video generation task record is deleted and will no longer be queryable. | - |
Response
200 - application/json
This API operation has no response parameters.