Library

Remove User's Saved Episodes

DELETE
/me/episodes

Remove one or more episodes from the current user's library. This API endpoint is in beta and could change without warning. Please share any feedback that you have, or issues that you discover, in our developer community forum.

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. 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/episodes?ids=7ouMYWpwJ422jRcDASZB7P%2C4VqPOruhp5EdPBeR92t6lQ%2C2takcwOaAZWiXQijPHIx7B" \  -H "Content-Type: application/json" \  -d '{}'
Empty