Remove User's Saved Audiobooks
me().audiobooks().remove(AudiobookRemoveParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
DELETE/me/audiobooks
Remove one or more audiobooks from the Spotify user's library.
Parameters
Remove User's Saved Audiobooks
package dev.cjav.spotted.example;
import dev.cjav.spotted.client.SpottedClient;
import dev.cjav.spotted.client.okhttp.SpottedOkHttpClient;
import dev.cjav.spotted.models.me.audiobooks.AudiobookRemoveParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
SpottedClient client = SpottedOkHttpClient.fromEnv();
AudiobookRemoveParams params = AudiobookRemoveParams.builder()
.ids("18yVqkdbdRvS24c0Ilj2ci,1HGw3J3NxZO1TP1BTtVhpZ,7iHfbu1YPACw6oZPAFJtqe")
.build();
client.me().audiobooks().remove(params);
}
}