unfollow Playlist Rest Action
fun unfollowPlaylistRestAction(playlist: String): SpotifyRestAction<String>
Content copied to clipboard
Remove the current user as a follower of a playlist.
Unfollowing a publicly followed playlist for a user requires authorization of the SpotifyScope.PLAYLIST_MODIFY_PUBLIC scope; unfollowing a privately followed playlist requires the SpotifyScope.PLAYLIST_MODIFY_PRIVATE scope.
Note that the scopes you provide relate only to whether the current user is following the playlist publicly or privately (i.e. showing others what they are following), not whether the playlist itself is public or private.
Parameters
playlist
The id or uri of the playlist that is to be no longer followed.
Throws
if the playlist is not found
Sources
(source)
Link copied to clipboard