Soft-delete a track. Only the track's creator may delete it; the audit and billing history survives.
DELETEhttps://api.aitronos.com/v1/music/{organization_id}/tracks/{track_id}
After deletion the track no longer appears in any library. Returns 403 if the caller is not the creator, and 404 if the track does not exist or the caller has no access to it.
organization_id string required
The organization the track is scoped to. The caller must belong to it.
track_id string required
Id of the track to delete (mtrack_-prefixed).
A mutation acknowledgement.
success boolean · Whether the mutation succeeded.
id string · Id of the deleted track.
detail string · Human-readable confirmation message.
cURL
- Bash
- Python
- Python
- JavaScript
curl -X DELETE "https://api.aitronos.com/v1/music/org_abc123/tracks/mtrack_7c1a9e2f4b8d" \
-H "X-API-Key: $FREDDY_API_KEY"Response:
200 OK
{
"success": true,
"id": "mtrack_7c1a9e2f4b8d",
"detail": "Track deleted."
}