delete
https://api-v2.pandavideo.com.br/playlists/
Permanently deletes a playlist
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
DELETE /playlists/{playlist_id}
{playlist_id}Permanently deletes a playlist owned by the authenticated user, along with all its playlist_videos links. The underlying videos are not deleted.
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}
Base URL: https://api-v2.pandavideo.com.br
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
playlist_id | string (uuid) | yes | Playlist identifier. |
Response
Success Response (200)
{ "message": "Playlist deleted" }
Side effects.
- All rows in
playlist_videosfor the playlist are removed.- The Memcache key
playlist_details_{playlist_id}is invalidated so the public page reflects the deletion.- Videos themselves are not deleted — they remain available in the account.
- The action is irreversible.
Error Responses
- 400 —
"Playlist not found"(playlist does not exist). - 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' \
--header 'Authorization: <your-api-key>'