curl --fail-with-body -X DELETE "$RAWCHUNKS_API/api/songs/$(jq -nr --arg v "$ID" '$v|@uri')" \
-H "x-session-user-address: $USER_ADDRESS"
{
"success": true,
"id": "<string>"
}Songs and takes
Delete a library song
Delete a song and its project records.
DELETE
/
api
/
songs
/
{id}
curl --fail-with-body -X DELETE "$RAWCHUNKS_API/api/songs/$(jq -nr --arg v "$ID" '$v|@uri')" \
-H "x-session-user-address: $USER_ADDRESS"
{
"success": true,
"id": "<string>"
}This removes library project data, not onchain ownership, licenses or media already referenced elsewhere.
Headers and parameters
string
required
Resource ID.
string
required
Selected account address. Required for owner-scoped reads and writes. It identifies the account; your product must authenticate its own users.
Response (200)
Success.boolean
required
string
required
Errors
Failed JSON responses contain anerror string. Check the HTTP status before reading a successful result. See job handling for interrupted or uncertain submissions.
| Status | Meaning |
|---|---|
400 | Invalid request. |
403 | Account does not match resource. |
404 | Resource not found. |
409 | Resource conflict; reload state or open an editable version. |
500 | Request failed. |
curl --fail-with-body -X DELETE "$RAWCHUNKS_API/api/songs/$(jq -nr --arg v "$ID" '$v|@uri')" \
-H "x-session-user-address: $USER_ADDRESS"
โI