curl --request PATCH \
--url https://api.videodb.io/audio/{audio_id} \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"name": "Updated Audio Name"
}
'{
"success": true,
"data": {
"id": "a-12345",
"name": "audio.mp3",
"collection_id": "default",
"length": 60,
"size": 524288,
"created_at": "2023-11-07T05:31:56Z"
}
}Update audio file metadata
curl --request PATCH \
--url https://api.videodb.io/audio/{audio_id} \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"name": "Updated Audio Name"
}
'{
"success": true,
"data": {
"id": "a-12345",
"name": "audio.mp3",
"collection_id": "default",
"length": 60,
"size": 524288,
"created_at": "2023-11-07T05:31:56Z"
}
}a-API key for authentication (sk-xxx format)
"a-12345"
"Updated Audio Name"