Post

Replies

Boosts

Views

Activity

Reply to Delete songs from playlist via Apple Music API
This is how I am attempting the deletion: payload = { "data": [ { "position": 0, "type": "library-songs" } ] }; const response = await fetch(url, { method: 'DELETE', headers: { 'Authorization': `Bearer ${DEVELOPER_TOKEN}`, 'Music-User-Token': USER_TOKEN, 'Content-Type': 'application/json' }, body: JSON.stringify(payload) }); The USER_Token was generated via: music.authorize({ scopes: ['library-modify'] }); I can successfully create a playlist and add to it using those tokens, so they should be OK. (this is in node.js) I can find no documentation for any track deletion API, this code is an approach I have seen in posts around the web, but I do not know if that method is in fact the right approach.
Topic: Media Technologies SubTopic: General Tags:
Oct ’25
Reply to XCode update to handle iOS 15.3?
I can't get xcode 13.2.1 to connect to ios 15.3, even after downloading the necessary xCode files and rebooting everything twice. Anyone have suggestions?
Replies
Boosts
Views
Activity
Feb ’22
Reply to Delete songs from playlist via Apple Music API
Thanks for the response. canEdit=true in my case, so I don't think that is it. Is their documentation on the DELETE method?
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’25
Reply to Delete songs from playlist via Apple Music API
This is how I am attempting the deletion: payload = { "data": [ { "position": 0, "type": "library-songs" } ] }; const response = await fetch(url, { method: 'DELETE', headers: { 'Authorization': `Bearer ${DEVELOPER_TOKEN}`, 'Music-User-Token': USER_TOKEN, 'Content-Type': 'application/json' }, body: JSON.stringify(payload) }); The USER_Token was generated via: music.authorize({ scopes: ['library-modify'] }); I can successfully create a playlist and add to it using those tokens, so they should be OK. (this is in node.js) I can find no documentation for any track deletion API, this code is an approach I have seen in posts around the web, but I do not know if that method is in fact the right approach.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’25