Delete video
$ openai videos delete
delete /videos/{video_id}
Permanently delete a completed or failed video and its stored assets.
Parameters
-
--video-id: stringThe identifier of the video to delete.
Returns
-
VideoDeleteResponse: object { id, deleted, object }Confirmation payload returned after deleting a video.
-
id: stringIdentifier of the deleted video.
-
deleted: booleanIndicates that the video resource was deleted.
-
object: "video.deleted"The object type that signals the deletion response.
-
Example
openai videos delete \
--api-key 'My API Key' \
--video-id video_123
Response
{
"id": "id",
"deleted": true,
"object": "video.deleted"
}