delete
https://api-v2.pandavideo.com.br/playlists//videos/
Removes a specific video from a playlist
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
DELETE /playlists/{playlist_id}/videos/{video_id}
{playlist_id}/videos/{video_id}Removes a single video from a playlist. Other videos in the playlist keep their order.
AuthorizationRequires a valid API Key in the
Authorizationheader. Send the key directly — noBearerprefix.
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
| Name | Type | Required | Description |
|---|---|---|---|
playlist_id | string (uuid) | yes | Playlist identifier. |
video_id | string (uuid) | yes | Video to remove. |
Response
Success Response (200)
{ "message": "Video removed from playlist" }
Side effects.
- Removes the
(playlist_id, video_id)row inplaylist_videos.- Recomputes
durationandvideos_quantityon the parent playlist.- Invalidates the Memcache key
playlist_details_{playlist_id}.- The underlying video is not deleted.
- No reorder of remaining videos — gaps in
orderare possible after several removes. If you need a contiguous order, re‑POST the list (see Add videos to playlist — theupdateOnDuplicate: ['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>'