OpenAI

Delete video

Delete a video job by ID.

Call Create video first and replace video_123 with its ID; poll until completed before downloading.

DELETE /openai/v1/videos/{video_id}● Supported

Official OpenAI docs ↗

Request parameters

  • video_idstring必填

    path: Id of the video job whose output you want, the `id` returned by createVideo. The job must be completed; before that the call answers 400.

Returns

200 video.deleted

Deletes the job and its generated content. An unknown job returns 404.

Errors follow the OpenAI format — see error codes

Response

HTTP 200

Success

application/json

NameTypeDescription
idstringId of the deleted video job.
objectstringObject type; always `video.deleted`.
deletedbooleanAlways true; the job is no longer readable.