Delete playlist

Permanently deletes a playlist

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

DELETE /playlists/{playlist_id}

Permanently deletes a playlist owned by the authenticated user, along with all its playlist_videos links. The underlying videos are not deleted.

📘

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}

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

Path Parameters

NameTypeRequiredDescription
playlist_idstring (uuid)yesPlaylist identifier.

Response

Success Response (200)

{ "message": "Playlist deleted" }
⚠️

Side effects.

  • All rows in playlist_videos for 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>'

Recipes

Path Params
uuid
required

Unique identifier of the playlist

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