Class UnfollowArtistsUsersRequest

java.lang.Object
de.sonallux.spotify.api.apis.users.UnfollowArtistsUsersRequest

public class UnfollowArtistsUsersRequest extends Object

Unfollow Artists or Users request

Required OAuth scopes

user-follow-modify

Response

Artist or user unfollowed

  • Constructor Details

    • UnfollowArtistsUsersRequest

      public UnfollowArtistsUsersRequest(ApiClient apiClient, String type, List<String> ids)
      Unfollow Artists or Users request
      Parameters:
      apiClient -

      The API client

      type -

      The ID type: either artist or user.

      ids -

      A JSON array of the artist or user Spotify IDs. For example: {ids:["74ASZWbe4lXaubB36ztrGX", "08td7MxkoHQkXnWAYD8d6Q"]}. A maximum of 50 IDs can be sent in one request. Note: if the ids parameter is present in the query string, any IDs listed here in the body will be ignored.

  • Method Details

    • build

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