| change_playlist_details {spotifyr} | R Documentation |
Change a playlist’s name and public/private state. (The user must, of course, own the playlist.)
Description
Change a playlist’s name and public/private state. (The user must, of course, own the playlist.)
Usage
change_playlist_details(
playlist_id,
name = NULL,
public = NULL,
collaborative = NULL,
description = NULL,
authorization = get_spotify_authorization_code()
)
Arguments
playlist_id |
Required. The Spotify ID for the playlist. |
name |
Optional String containing the name for the new playlist, for example |
public |
Optional. Boolean. If |
collaborative |
Optional. Boolean. If |
description |
Optional. String containing the playlist description as displayed in Spotify Clients and in the Web API. |
authorization |
Required. A valid access token from the Spotify Accounts service. See the Web API authorization Guide for more details. Defaults to |
Value
The response from the Spotify Web API on the
PUT request, with a meaningful error message if the operation was not successful.
See Also
Other playlist functions:
add_tracks_to_playlist(),
check_users_following(),
create_playlist(),
get_my_playlists(),
get_playlist(),
get_user_playlists(),
remove_tracks_from_playlist(),
tidy()