Skip to main content
PATCH
/
v1
/
playlist-groups
/
{id}
Rename or reorder a playlist group
curl --request PATCH \
  --url https://api.tella.com/v1/playlist-groups/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "emoji": "📁",
  "name": "Growth",
  "position": 0
}
'
{
  "group": {
    "emoji": "📁",
    "id": "pg_abc123def456",
    "name": "Marketing",
    "visibility": "personal"
  }
}

Authorizations

Authorization
string
header
required

API key obtained from your Tella account settings

Path Parameters

id
string
required

Unique playlist group identifier

Example:

"pg_abc123def456"

Body

application/json

Request to rename and/or reorder a playlist group

emoji
string

Unicode emoji character for the group

Maximum string length: 10
Example:

"📁"

name
string

New playlist group name

Required string length: 1 - 255
Example:

"Growth"

position
integer

0-based position in the sidebar section (0 = top), counted across groups and ungrouped playlists

Required range: 0 <= x <= 9007199254740991
Example:

0

Response

OK

A single playlist group

group
object
required

A sidebar group that playlists can be organized into. Personal groups are only visible to you; org groups are shared with the whole workspace.