provider PlaylistsLibrary PUT /playlists/{playlist_id}
@utdk/spotify /playlists/{playlist_id}
Change Playlist Details
Change a playlist's name and public/private state. (The user must, of course, own the playlist.)
playlist_id path required
string

Try it

Authentication
Configure credentials for Spotify Web API
changePlaylistDetails
PUT/playlists/{playlist_id}
Change a playlist's name and public/private state. (The user must, of course, own the playlist.)

Parameters

required

Input

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

The playlist's public/private status (if it should be added to the user's profile or not): `true` the playlist will be public, `false` the playlist will be private, `null` the playlist status is not relevant. For more about public/private status, see [Working with Playlists](/documentation/web-api/concepts/playlists)

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

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

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import spotify from '@utdk/spotify';

await spotify.changePlaylistDetails()