Playlists

Remove an object (by id and type, or track number, or clear) from a playlist

Remove objects from a playlist using track number in the list or object id and type. Using clear will empty the entire list.

post/playlists/{playlist_id}/remove

Path parameters

playlist_idstring required

Unique identifier of the playlist.

Query parameters

idstring

Object id

object_type'song' | 'album' | 'artist' | 'playlist'
type'song' | 'album' | 'artist' | 'playlist'

DEPRECATED, use object_type instead. Will be removed in API9

trackstring

Track number to remove from the playlist

clear0 | 1

Clear the whole playlist

Request body

idstring

Object id

object_type'song' | 'album' | 'artist' | 'playlist'
type'song' | 'album' | 'artist' | 'playlist'

DEPRECATED, use object_type instead. Will be removed in API9

trackstring

Track number to remove from the playlist

clear0 | 1

Clear the whole playlist

Response

Success

successstring

Changes