Delete Video

Permanently deletes one or more videos from your account. A JSON body is required even when deleting a single video — the endpoint accepts either a single object or an array of objects, each containing a video_id. After this call returns, the video status is set to DELETING and the asset cleanup happens asynchronously (a worker eventually drops the files from storage).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

DELETE /videos

Deletes one or more videos by their IDs. Accepts an array of objects, each containing a video_id. This allows batch deletion in a single request.

📘

Authorization

Requires a valid API token with permission to delete videos.

HTTP Method & Path

DELETE /videos

Base URL: https://api-v2.pandavideo.com.br

Authentication Requirements

  • Security Scheme: PandaAuth (apiKey)
  • Header: Authorization: <your_api_token> (no Bearer prefix)

Parameters

NameInTypeRequiredDescription
AuthorizationheaderstringYesPanda API token (without Bearer prefix)

Request Body

Content-Type: application/json

The request body is an array of objects. Each object must contain a video_id.

Body Parameters

FieldTypeRequiredDescription
video_idstring (uuid)YesID of the video to delete

Example Request

[
  {
    "video_id": "e9f3e6a7-42fb-4d1e-83ef-49e64a799498"
  }
]

Example Request — Batch (multiple videos)

[
  { "video_id": "e9f3e6a7-42fb-4d1e-83ef-49e64a799498" },
  { "video_id": "a1b2c3d4-5678-9012-abcd-ef1234567890" }
]

Response

Success Response (200)

{
  "message": "Video with video_ids: e9f3e6a7-42fb-4d1e-83ef-49e64a799498 was deleted"
}

Response Schema

FieldTypeDescription
messagestringConfirmation message listing the deleted video IDs

Error Responses

  • 401 Unauthorized — Invalid or missing API token
  • 404 Not Found — Video not found
  • 500 Internal Server Error — Internal server error

Example Usage

cURL

curl -X DELETE \
  'https://api-v2.pandavideo.com.br/videos' \
  -H 'Authorization: your_api_token_here' \
  -H 'Content-Type: application/json' \
  -d '[
    {
      "video_id": "e9f3e6a7-42fb-4d1e-83ef-49e64a799498"
    }
  ]'
Body Params

One or more videos to delete. Send either a single object { "video_id": "<uuid>" } or an array [{ "video_id": "<uuid>" }, ...] for batch deletes. The body is required — sending DELETE /videos without a body returns HTTP 500.

uuid
required

UUID of the video to delete.

Responses

401

Missing or invalid Authorization header. The Panda API token goes directly in the header without the Bearer prefix.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json