Permanently delete an audio file from your library.
Deleting audio is permanent and cannot be undone. Audio files with scheduled sends cannot be deleted until those sends are completed or cancelled.
Request
Your API authentication token
Path Parameters
ID of the audio file to delete
Response
Confirmation that the audio was deleted
ID of the deleted audio file
curl -X DELETE https://api.musique.app/api/aud_9x8y7z6w5v4u3t \
-H "X-API-Key: msk_live_1234567890abcdef"
{
"deleted": true,
"audioId": "aud_9x8y7z6w5v4u3t"
}
Before Deleting
Before deleting audio files, consider:
- Check scheduled sends - Audio with pending scheduled sends cannot be deleted
- Review usage stats - Use Get Audio to check if the file is still being used
- Export if needed - Download a copy of the audio file from the CDN URL if you might need it later