Skip to content
DocumentationAPI Reference

Unfollow Playlist

client.Playlists.Followers.Unfollow(ctx, playlistID) error
DELETE/playlists/{playlist_id}/followers

Remove the current user as a follower of a playlist.

ParametersExpand Collapse
playlistID string

The Spotify ID of the playlist.

Unfollow Playlist

package main

import (
  "context"

  "github.com/cjavdev/spotted-go"
  "github.com/cjavdev/spotted-go/option"
)

func main() {
  client := spotted.NewClient(
    option.WithAccessToken("My Access Token"),
  )
  err := client.Playlists.Followers.Unfollow(context.TODO(), "3cEYpjA9oz9GiPac4AsH4n")
  if err != nil {
    panic(err.Error())
  }
}
Returns Examples