Skip to main content
PATCH
/
v1
/
playlists
/
{id}
Update a playlist
curl --request PATCH \
  --url https://api.tella.com/v1/playlists/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Updated Playlist Name",
  "description": "Updated description for the playlist",
  "linkScope": "public",
  "password": "newpassword",
  "searchEngineIndexingEnabled": true
}
'
{
  "playlist": {
    "id": "pl_abc123def456",
    "name": "Product Tutorials",
    "description": "A collection of tutorial videos for our product",
    "emoji": "🎬",
    "videos": 12,
    "linkScope": "public",
    "searchEngineIndexingEnabled": true,
    "visibility": "org",
    "createdAt": "2024-01-15T10:30:00.000Z",
    "updatedAt": "2024-01-15T14:45:00.000Z",
    "links": {
      "viewPage": "https://www.tella.tv/playlist/pl_abc123def456/view"
    }
  }
}

Authorizations

Authorization
string
header
required

API key obtained from your Tella account settings

Path Parameters

id
string
required

Unique playlist identifier

Example:

"pl_abc123def456"

Body

application/json

Request body for updating a playlist. At least one field must be provided.

name
string

Playlist name

Required string length: 1 - 255
Example:

"Updated Playlist Name"

description
string

Playlist description

Maximum string length: 5000
Example:

"Updated description for the playlist"

Access level

Available options:
public,
private,
password,
embedonly
Example:

"public"

password
string

Password for viewing. Required when linkScope is 'password', ignored otherwise.

Required string length: 1 - 255
Example:

"newpassword"

searchEngineIndexingEnabled
boolean

Allow search engine indexing

Example:

true

Response

OK

playlist
object
required

Detailed information about a playlist