Class UnfollowPlaylistRequest


  • public class UnfollowPlaylistRequest
    extends Object
    Unfollow Playlist request

    Required OAuth scopes

    playlist-modify-public, playlist-modify-private

    Response

    On success, the HTTP status code in the response header is 200 OK and the response body is empty. On error, the header status code is an error code and the response body contains an error object.

    • Constructor Detail

      • UnfollowPlaylistRequest

        public UnfollowPlaylistRequest​(ApiClient apiClient,
                                       String playlistId)

        Unfollow Playlist request

        Parameters:
        apiClient -

        The API client

        playlistId -

        The Spotify ID of the playlist that is to be no longer followed.

    • Method Detail

      • build

        public ApiCall<Void> build()
        Build the request into an executable call