Skip to content
DocumentationAPI Reference

Unfollow Playlist

playlists().followers().unfollow(FollowerUnfollowParamsparams = FollowerUnfollowParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
DELETE/playlists/{playlist_id}/followers

Remove the current user as a follower of a playlist.

ParametersExpand Collapse
params: FollowerUnfollowParams
playlistId: Optional<String>

The Spotify ID of the playlist.

Unfollow Playlist

package dev.cjav.spotted.example

import dev.cjav.spotted.client.SpottedClient
import dev.cjav.spotted.client.okhttp.SpottedOkHttpClient
import dev.cjav.spotted.models.playlists.followers.FollowerUnfollowParams

fun main() {
    val client: SpottedClient = SpottedOkHttpClient.fromEnv()

    client.playlists().followers().unfollow("3cEYpjA9oz9GiPac4AsH4n")
}
Returns Examples