Tracks

Remove User's Saved Tracks

DELETE
/me/tracks

Remove one or more tracks from the current user's 'Your Music' library.

Authorization

oauth_2_0 user-library-modify
AuthorizationBearer <token>

Spotify supports OAuth 2.0 for authenticating all API requests.

In: header

Scope: user-library-modify

Query Parameters

ids*Spotify Track IDs

A comma-separated list of the Spotify IDs. For example: ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M. Maximum: 50 IDs.

Request Body

application/json

ids?array<string>

A JSON array of the Spotify IDs. For example: ["4iV5W9uYEdYUVa79Axb7Rh", "1301WleyT98MSxVHPZCA6M"]A maximum of 50 items can be specified in one request. Note: if the ids parameter is present in the query string, any IDs listed here in the body will be ignored.

[key: string]?any

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/me/tracks?ids=7ouMYWpwJ422jRcDASZB7P%2C4VqPOruhp5EdPBeR92t6lQ%2C2takcwOaAZWiXQijPHIx7B" \  -H "Content-Type: application/json" \  -d '{}'
Empty