Remove one or more tracks from a user<U+2019>s playlist.
remove_tracks_from_playlist(
playlist_id,
uris,
authorization = get_spotify_authorization_code()
)Required. The Spotify ID for the playlist.
Optional. A character vector of Spotify track URIs to add. For example
uris = "spotify:track:4iV5W9uYEdYUVa79Axb7Rh", "spotify:track:1301WleyT98MSxVHPZCA6M"
A maximum of 100 tracks can be removed in one request.
Required. A valid access token from the Spotify Accounts service.
See the Web API authorization Guide for more details. Defaults to spotifyr::get_spotify_authorization_code(). The access token must have been issued on behalf of the current user.
Removing tracks to the current user<U+2019>s public playlists requires authorization of the
playlist-modify-public scope; removing tracks from the current user<U+2019>s private
playlist (including collaborative playlists) requires the playlist-modify-private
scope. See Using Scopes.
The response from the Spotify Web API on the
DELETE request, with a meaningful error message if the operation was not successful.
Other playlist functions:
add_tracks_to_playlist(),
change_playlist_details(),
check_users_following(),
create_playlist(),
get_my_playlists(),
get_playlist(),
get_user_playlists(),
tidy()