Search + K

Command Palette

Search for a command to run...

Sign In

Remove Playlist Items

DELETE /playlists/{playlist_id}/tracks
Copy endpoint
https://api.spotify.com/v1

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

Parameters

path Path Parameters

Name Type
playlist_id required
string

Request Body

application/json
{ tracks: { uri?: string; }[];snapshot_id?: string; }

Responses

200 application/json

A snapshot ID for the playlist

{ snapshot_id?: string; }

Client Errors

401 application/json

Bad or expired token. This can happen if the user revoked a token or the access token has expired. You should re-authenticate the user.

{ error: ErrorObject
interface ErrorObject {
status: number;
message: string;
}
; }
403 application/json

Bad OAuth request (wrong consumer key, bad nonce, expired timestamp...). Unfortunately, re-authenticating the user won't help here.

{ error: ErrorObject
interface ErrorObject {
status: number;
message: string;
}
; }
429 application/json

The app has exceeded its rate limits.

{ error: ErrorObject
interface ErrorObject {
status: number;
message: string;
}
; }