SpyBara
Go Premium

cli/resources/videos/methods/delete/index.md 2026-05-05 23:00 UTC to 2026-05-07 21:57 UTC

49 added, 0 removed.

2026
Wed 27 06:42 Fri 22 06:33 Wed 20 06:35 Tue 19 06:34 Mon 18 22:01 Mon 11 18:00 Thu 7 21:57 Tue 5 23:00 Sat 2 05:57

Delete video

$ openai videos delete

delete /videos/{video_id}

Permanently delete a completed or failed video and its stored assets.

Parameters

  • --video-id: string

    The identifier of the video to delete.

Returns

  • VideoDeleteResponse: object { id, deleted, object }

    Confirmation payload returned after deleting a video.

    • id: string

      Identifier of the deleted video.

    • deleted: boolean

      Indicates 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"
}