removePlayableFromClientPlaylist

suspend fun removePlayableFromClientPlaylist(playlist: String, playable: PlayableUri, positions: SpotifyPlayablePositions, snapshotId: String? = null): PlaylistSnapshot(source)

Remove a playable in the specified positions (zero-based) from the specified 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

playable

The playable uri

positions

The positions at which the playable is located in the playlist

snapshotId

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


suspend fun removePlayableFromClientPlaylist(playlist: String, playable: PlayableUri, snapshotId: String? = null): PlaylistSnapshot(source)

Remove all occurrences of a playable from the specified 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

playable

The playable uri

snapshotId

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