Class RemoveAlbumsUserRequest


  • public class RemoveAlbumsUserRequest
    extends Object
    Remove Albums for Current User request

    Required OAuth scopes

    user-library-modify

    Response

    On success, the HTTP status code in the response header is 200 Success. On error, the header status code is an error code and the response body contains an error object. Trying to remove an album when you do not have the user's authorization returns error 403 Forbidden.

    • Constructor Detail

      • RemoveAlbumsUserRequest

        public RemoveAlbumsUserRequest​(ApiClient apiClient,
                                       List<String> ids)

        Remove Albums for Current User request

        Parameters:
        apiClient -

        The API client

        ids -

        A JSON array of the Spotify IDs. For example: ["4iV5W9uYEdYUVa79Axb7Rh", "1301WleyT98MSxVHPZCA6M"]
        A maximum of 50 items can be specified 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 Detail

      • build

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