EVOLUTION-MANAGER
Edit File: remove_tracks_from_playlist.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Remove Tracks from User’s Playlist</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for remove_tracks_from_playlist {spotifyr}"><tr><td>remove_tracks_from_playlist {spotifyr}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Remove Tracks from User’s Playlist</h2> <h3>Description</h3> <p>Remove one or more tracks from a user’s playlist. </p> <h3>Usage</h3> <pre> remove_tracks_from_playlist( playlist_id, uris, authorization = get_spotify_authorization_code() ) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>playlist_id</code></td> <td> <p>Required. The <a href="https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids">Spotify ID</a> for the playlist.</p> </td></tr> <tr valign="top"><td><code>uris</code></td> <td> <p>Optional. A character vector of <a href="https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids">Spotify track URIs</a> to add. For example <br /> <code>uris = "spotify:track:4iV5W9uYEdYUVa79Axb7Rh", "spotify:track:1301WleyT98MSxVHPZCA6M"</code> <br /> A maximum of 100 tracks can be removed in one request.</p> </td></tr> <tr valign="top"><td><code>authorization</code></td> <td> <p>Required. A valid access token from the Spotify Accounts service. See the <a href="https://developer.spotify.com/documentation/general/guides/authorization-guide/">Web API authorization Guide</a> for more details. Defaults to <code>spotifyr::get_spotify_authorization_code()</code>. The access token must have been issued on behalf of the current user. <br /> Removing tracks to the current user’s public playlists requires authorization of the <code>playlist-modify-public</code> scope; removing tracks from the current user’s private playlist (including collaborative playlists) requires the <code>playlist-modify-private</code> scope. See <a href="https://developer.spotify.com/documentation/general/guides/authorization-guide/#list-of-scopes">Using Scopes</a>.</p> </td></tr> </table> <h3>Value</h3> <p>The response from the Spotify Web API on the <code>DELETE</code> request, with a meaningful error message if the operation was not successful. </p> <h3>See Also</h3> <p>Other playlist functions: <code><a href="add_tracks_to_playlist.html">add_tracks_to_playlist</a>()</code>, <code><a href="change_playlist_details.html">change_playlist_details</a>()</code>, <code><a href="check_users_following.html">check_users_following</a>()</code>, <code><a href="create_playlist.html">create_playlist</a>()</code>, <code><a href="get_my_playlists.html">get_my_playlists</a>()</code>, <code><a href="get_playlist.html">get_playlist</a>()</code>, <code><a href="get_user_playlists.html">get_user_playlists</a>()</code>, <code><a href="tidy.html">tidy</a>()</code> </p> <hr /><div style="text-align: center;">[Package <em>spotifyr</em> version 2.2.3 <a href="00Index.html">Index</a>]</div> </body></html>