Skip to content
DocumentationAPI Reference

Remove User's Saved Episodes

client.me.episodes.remove(EpisodeRemoveParams { ids, published } body?, RequestOptionsoptions?): void
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.

ParametersExpand Collapse
body: EpisodeRemoveParams { ids, published }
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.

published?: boolean

The playlist's public/private status (if it should be added to the user's profile or not): true the playlist will be public, false the playlist will be private, null the playlist status is not relevant. For more about public/private status, see Working with Playlists

Remove User's Saved Episodes

import Spotted from 'spotted-ts';

const client = new Spotted({
  accessToken: process.env['SPOTIFY_ACCESS_TOKEN'], // This is the default and can be omitted
});

await client.me.episodes.remove();
Returns Examples