Playlists

Change Playlist Details

PUT
/playlists/{playlist_id}

Change a playlist's name and public/private state. (The user must, of course, own the playlist.)

Authorization

oauth_2_0 playlist-modify-public, playlist-modify-private
AuthorizationBearer <token>

Spotify supports OAuth 2.0 for authenticating all API requests.

In: header

Scope: playlist-modify-public, playlist-modify-private

Path Parameters

playlist_id*Playlist ID

The Spotify ID of the playlist.

Request Body

application/json

name?string

The new name for the playlist, for example "My New Playlist Title"

public?boolean

If true the playlist will be public, if false it will be private.

collaborative?boolean

If true, the playlist will become collaborative and other users will be able to modify the playlist in their Spotify client. Note: You can only set collaborative to true on non-public playlists.

description?string

Value for playlist description as displayed in Spotify Clients and in the Web API.

[key: string]?any

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/playlists/3cEYpjA9oz9GiPac4AsH4n" \  -H "Content-Type: application/json" \  -d '{    "name": "Updated Playlist Name",    "description": "Updated playlist description",    "public": false  }'
Empty