removePlayableFromClientPlaylistRestAction

fun removePlayableFromClientPlaylistRestAction(playlist: String, playable: PlayableUri, positions: SpotifyPlayablePositions, snapshotId: String? = null): SpotifyRestAction<PlaylistSnapshot>

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

fun removePlayableFromClientPlaylistRestAction(playlist: String, playable: PlayableUri, snapshotId: String? = null): SpotifyRestAction<PlaylistSnapshot>

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

playable

The playable uri

snapshotId

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