removePlayablesFromClientPlaylist

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

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

Removing playables from a user’s public playlist requires authorization of the SpotifyScope.PlaylistModifyPublic scope; removing playables from a private playlist requires the SpotifyScope.PlaylistModifyPrivate 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(source)

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.PlaylistModifyPublic scope; removing playables from a private playlist requires the SpotifyScope.PlaylistModifyPrivate 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