Is there an API or method to do the above?
I am building a music app and can find the addItem API here https://developer.apple.com/documentation/mediaplayer/mpmedialibrary/1621278-additem, but no removal API.
This is a pain for users as they will be able to add items, but then be unable to remove them unless they go to the Apple Music app. This also appears to be the case for playlists.