Class RemoveItemsFromLibraryRequest

All Implemented Interfaces:
IRequest<String>

public class RemoveItemsFromLibraryRequest extends AbstractDataRequest<String>
Remove one or more items from the current user's library. Accepts Spotify URIs for tracks, albums, episodes, shows, audiobooks, users, and playlists.
See Also:
  • Method Details

    • execute

      public String execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException
      Send the request.
      Returns:
      Items removed from library
      Throws:
      IOException - In case of networking issues.
      SpotifyWebApiException - The Web API returned an error further specified in this exception's root cause.
      org.apache.hc.core5.http.ParseException - The response could not be parsed.