Playlists

Remove Playlist Items

DELETE
/playlists/{playlist_id}/tracks

Remove one or more items from a user's playlist.

Authorization

oauth_2_0 playlist-modify-public, playlist-modify-private
AuthorizationBearer <token>

Spotify supports OAuth 2.0 for authenticating all API requests.

In: header

Scope: playlist-modify-public, playlist-modify-private

Path Parameters

playlist_id*Playlist ID

The Spotify ID of the playlist.

Request Body

application/json

tracks*array<>

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.

snapshot_id?string

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"}