Remove video from playlist

Removes a specific video from a playlist

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

DELETE /playlists/{playlist_id}/videos/{video_id}

Removes a single video from a playlist. Other videos in the playlist keep their order.

📘

Authorization

Requires a valid API Key in the Authorization header. Send the key directly — no Bearer prefix.

🔒

Ownership enforced. Caller must own the playlist; otherwise 500 "Unauthorized: You do not own this playlist".

HTTP Method & Path

DELETE /playlists/{playlist_id}/videos/{video_id}

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

Path Parameters

NameTypeRequiredDescription
playlist_idstring (uuid)yesPlaylist identifier.
video_idstring (uuid)yesVideo to remove.

Response

Success Response (200)

{ "message": "Video removed from playlist" }
📘

Side effects.

  • Removes the (playlist_id, video_id) row in playlist_videos.
  • Recomputes duration and videos_quantity on the parent playlist.
  • Invalidates the Memcache key playlist_details_{playlist_id}.
  • The underlying video is not deleted.
  • No reorder of remaining videos — gaps in order are possible after several removes. If you need a contiguous order, re‑POST the list (see Add videos to playlist — the updateOnDuplicate: ['order'] insert is also the reorder pattern).

Error Responses

  • 400"Video not found in playlist" (no row matched (playlist_id, video_id)).
  • 401 — missing/invalid API Key.
  • 500 — ownership rejected or internal error.

Example Usage

cURL

curl --request DELETE \
  --url 'https://api-v2.pandavideo.com.br/playlists/a1b2c3d4-e5f6-7890-abcd-ef1234567890/videos/f1f2f3f4-aaaa-bbbb-cccc-d1d2d3d4d5d6' \
  --header 'Authorization: <your-api-key>'

Recipes

Path Params
uuid
required

Unique identifier of the playlist

uuid
required

Unique identifier of the video

Responses

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