unfollowPlaylist

suspend fun unfollowPlaylist(playlist: String): String(source)

Remove the current user as a follower of a playlist.

Unfollowing a publicly followed playlist for a user requires authorization of the SpotifyScope.PlaylistModifyPublic scope; unfollowing a privately followed playlist requires the SpotifyScope.PlaylistModifyPrivate 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.

Api Reference

Parameters

playlist

The id or uri of the playlist that is to be no longer followed.

Throws

if the playlist is not found