Permanently delete a recording from the account.
curl --request DELETE \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Recording/{recording_id}/ \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'Documentation Index
Fetch the complete documentation index at: https://docs.vobiz.ai/llms.txt
Use this file to discover all available pages before exploring further.
DELETE https://api.vobiz.ai/api/v1/Account/{auth_id}/Recording/{recording_id}/
X-Auth-ID - Your account auth_id (e.g., {auth_id})X-Auth-Token - Your account Auth TokenContent-Type: application/json| Field | Type | Required | Description |
|---|---|---|---|
auth_id | string | Yes | Your account ID. |
recording_id | string | Yes | The unique recording identifier to delete. |
HTTP/1.1 204 No Content
{
"api_id": "correlation-id-uuid",
"error": "Recording not found"
}
curl -X DELETE https://api.vobiz.ai/api/v1/Account/{auth_id}/Recording/abc123def456/ \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN"
# Step 1: Get recording details to verify
curl -X GET https://api.vobiz.ai/api/v1/Account/{auth_id}/Recording/abc123def456/ \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN"
# Step 2: Review the output, confirm it's the right recording
# Check: call_uuid, conference_name, from_number, to_number, add_time
# Step 3: Delete if confirmed
curl -X DELETE https://api.vobiz.ai/api/v1/Account/{auth_id}/Recording/abc123def456/ \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN"
#!/bin/bash
RECORDING_ID="abc123def456"
auth_id="{auth_id}"
AUTH_ID="YOUR_AUTH_ID"
AUTH_TOKEN="YOUR_AUTH_TOKEN"
# Get recording details
RESPONSE=$(curl -s -X GET https://api.vobiz.ai/api/v1/Account/${auth_id}/Recording/${recording_id}/ \
-H "X-Auth-ID: ${auth_id}" \
-H "X-Auth-Token: ${auth_token}")
# Extract recording URL
RECORDING_URL=$(echo ${RESPONSE} | jq -r '.recording_url')
# Download the recording file
echo "Downloading recording..."
curl -o "${recording_id}.mp3" "${RECORDING_URL}"
# Verify download was successful
if [ -f "${recording_id}.mp3" ]; then
echo "Download successful. File size: $(ls -lh ${recording_id}.mp3 | awk '{print $5}')"
# Delete from Vobiz
echo "Deleting recording from Vobiz..."
curl -X DELETE https://api.vobiz.ai/api/v1/Account/${auth_id}/Recording/${recording_id}/ \
-H "X-Auth-ID: ${auth_id}" \
-H "X-Auth-Token: ${auth_token}"
echo "Recording deleted successfully"
else
echo "Download failed. Recording NOT deleted."
fi
# This should return 404 if deletion was successful
curl -X GET https://api.vobiz.ai/api/v1/Account/{auth_id}/Recording/abc123def456/ \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN"
Was this page helpful?
curl --request DELETE \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Recording/{recording_id}/ \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'