Change Playlist Details
client.playlists.update(stringplaylistID, PlaylistUpdateParams { collaborative, description, name, published } body?, RequestOptionsoptions?): void
PUT/playlists/{playlist_id}
Change a playlist's name and public/private state. (The user must, of course, own the playlist.)
Parameters
Change Playlist Details
import Spotted from 'spotted-ts';
const client = new Spotted({
accessToken: process.env['SPOTIFY_ACCESS_TOKEN'], // This is the default and can be omitted
});
await client.playlists.update('3cEYpjA9oz9GiPac4AsH4n');