src/spotify-web-api.js
function(albumIds, callback) {
    return WebApiRequest.builder(this.getAccessToken())
      .withPath('/v1/me/albums')
      .withHeaders({ 'Content-Type': 'application/json' })
      .withBodyParameters(albumIds)
      .build()
      .execute(HttpManager.del, callback);
  }
function(albumIds, callback) {
    return WebApiRequest.builder(this.getAccessToken())
      .withPath('/v1/me/albums')
      .withHeaders({ 'Content-Type': 'application/json' })
      .withBodyParameters(albumIds)
      .build()
      .execute(HttpManager.del, callback);
  }
function ( albumIds , callback ) { return WebApiRequest . builder ( this . getAccessToken ( ) ) . withPath ( '/v1/me/albums' ) . withHeaders ( { 'Content-Type' : 'application/json' } ) . withBodyParameters ( albumIds ) . build ( ) . execute ( HttpManager . del , callback ) ; }
Remove an album from the authenticated user's Your Music library.
@param {string[]} albumIds The album IDs
@param {requestCallback} [callback] Optional callback method to be called instead of the promise.
@returns {Promise|undefined} A promise that if successful returns null, otherwise an error.
Not returned if a callback is given.
Remove an album from the authenticated user s Your Music library .