Change Playlist Details
PUT
/playlists/{playlist_id} https://api.spotify.com/v1
Change a playlist's name and public/private state. (The user must, of course, own the playlist.)
Parameters
path Path Parameters
| Name | Type |
|---|---|
playlist_id
required
| string |
Request Body
application/json
{
name?: string;
public?: boolean;
collaborative?: boolean;
description?: string;
[key: string]: unknown;
}
name?: string;
public?: boolean;
collaborative?: boolean;
description?: string;
[key: string]: unknown;
}
Responses
200
Playlist updated
unknown
Client Errors
401 application/json
Bad or expired token. This can happen if the user revoked a token or the access token has expired. You should re-authenticate the user.
{ error: ErrorObject ; }
403 application/json
Bad OAuth request (wrong consumer key, bad nonce, expired timestamp...). Unfortunately, re-authenticating the user won't help here.
{ error: ErrorObject ; }
429 application/json
The app has exceeded its rate limits.
{ error: ErrorObject ; }