Can you remove a song from a users Apple Music Library?

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.

Replies

Hello @jknlsn,

Thank you for the feedback.

We are not able to offer any API for removing items from the library or from a playlist at this time.

Best regards,