remove Rest Action
fun removeRestAction(type: LibraryType, id: String): SpotifyRestAction<Unit>
Content copied to clipboard
Remove one of LibraryType (track or album) from the current user’s ‘Your Music’ library.
Changes to a user’s saved items may not be visible in other Spotify applications immediately.
Requires the SpotifyScope.USER_LIBRARY_MODIFY scope
Parameters
type
The type of object to check against (album or track)
id
The id or uri of the object
Throws
if any of the provided ids is invalid
fun removeRestAction(type: LibraryType, vararg ids: String): SpotifyRestAction<Unit>
Content copied to clipboard
Remove one or more of the LibraryType (tracks or albums) from the current user’s ‘Your Music’ library.
Changes to a user’s saved items may not be visible in other Spotify applications immediately.
Requires the SpotifyScope.USER_LIBRARY_MODIFY scope
Parameters
type
The type of objects to check against (album or track)
ids
The ids or uris of the objects. Maximum 50 ids.
Throws
if any of the provided ids is invalid