How to delete all locally-stored music from your iOS device
1 Open the Settings app.
2 Go to General > Usage > Manage Storage.
3 Wait for it to load; after it does so, tap on Music.
4 Tap Edit in the upper right corner.
5 Tap the red minus button next to All Songs, then tap Delete.
https://www.imore.com/how-delete-all-locally-stored-music-your-iphone-ipad-or-ipod-t…