removePlayablesFromClientPlaylist

suspend fun removePlayablesFromClientPlaylist(playlist: String, vararg playables: PlayableUri, snapshotId: String? = null): PlaylistSnapshot

Remove all occurrences of the specified playables from the given playlist.

Removing playables from a user’s public playlist requires authorization of the SpotifyScope.PLAYLIST_MODIFY_PUBLIC scope; removing playables from a private playlist requires the SpotifyScope.PLAYLIST_MODIFY_PRIVATE scope.

Api Reference

Parameters

playlist

The playlist id

playables

An array of playable uris. Maximum 100 without bulk requesting.

snapshotId

The playlist snapshot against which to apply this action. recommended to have

suspend fun removePlayablesFromClientPlaylist(playlist: String, vararg playables: Pair<PlayableUri, SpotifyPlayablePositions>, snapshotId: String? = null): PlaylistSnapshot

Remove playables (each with their own positions) from the given playlist. Bulk requesting is only available when snapshotId is null.

Removing playables from a user’s public playlist requires authorization of the SpotifyScope.PLAYLIST_MODIFY_PUBLIC scope; removing playables from a private playlist requires the SpotifyScope.PLAYLIST_MODIFY_PRIVATE scope.

Api Reference

Parameters

playlist

The playlist id

playables

An array of Pairs of playable uris and playable positions (zero-based). Maximum 100.

snapshotId

The playlist snapshot against which to apply this action. recommended to have