v1

latestOpenAPI 3.1.02026-07-2416666272.6 KB
Playlists

Update playlist

Updates an existing playlist

put/playlists/{playlist_id}

Path parameters

playlist_idstring uuid required

Unique identifier of the playlist

Request body

namestring
descriptionstring
access_type'public' | 'private' | 'anyone_with_password'
passwordstring

Required when changing access_type to anyone_with_password

hide_viewsboolean
creator_namestring
image_idstring uuid nullable

Example request

{
  "external_button": {
    "size": "medium",
    "text": "Visit Website",
    "url": "https://example.com"
  }
}

Response

Playlist updated successfully

messagestring

Example response

{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "My Playlist",
    "description": "A collection of tutorial videos",
    "access_type": "public",
    "creator_name": "John Doe",
    "videos_quantity": 10,
    "duration": 3600,
    "external_button": {
      "size": "medium",
      "text": "Visit Website",
      "url": "https://example.com"
    }
  },
  "message": "Success"
}