Remove Playlist Items
Remove one or more items from a user's playlist.
Authorization
oauth_2_0 playlist-modify-public, playlist-modify-privateSpotify supports OAuth 2.0 for authenticating all API requests.
In: header
Scope: playlist-modify-public, playlist-modify-private
Path Parameters
The Spotify ID of the playlist.
Request Body
application/json
An array of objects containing Spotify URIs of the tracks or episodes to remove.
For example: { "tracks": [{ "uri": "spotify:track:4iV5W9uYEdYUVa79Axb7Rh" },{ "uri": "spotify:track:1301WleyT98MSxVHPZCA6M" }] }. A maximum of 100 objects can be sent at once.
The playlist's snapshot ID against which you want to make the changes. The API will validate that the specified items exist and in the specified positions and make the changes, even if more recent changes have been made to the playlist.
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/playlists/3cEYpjA9oz9GiPac4AsH4n/tracks" \ -H "Content-Type: application/json" \ -d '{ "tracks": [ {} ] }'{ "snapshot_id": "abc"}Add Items to Playlist POST
Add one or more items to a user's playlist.
Update Playlist Items PUT
Either reorder or replace items in a playlist depending on the request's parameters. To reorder items, include `range_start`, `insert_before`, `range_length` and `snapshot_id` in the request's body. To replace items, include `uris` as either a query parameter or in the request's body. Replacing items in a playlist will overwrite its existing items. This operation can be used for replacing or clearing items in a playlist. <br/> **Note**: Replace and reorder are mutually exclusive operations which share the same endpoint, but have different parameters. These operations can't be applied together in a single request.

