Skip to main content
DELETE
/
download
Delete download entry
curl --request DELETE \
  --url https://api.videodb.io/download \
  --header 'x-access-token: <api-key>'
{
  "success": true,
  "message": "Operation successful"
}
Cancel or delete a download job. Once deleted, the download job record is removed and cannot be recovered.
import requests

response = requests.delete(
    "https://api.videodb.io/download",
    headers={"x-access-token": "your_api_key"},
    json={"download_id": "download-abc123"}
)

result = response.json()
if result.get('success'):
    print("Download job deleted successfully")
else:
    print("Failed to delete download job")
  • Deletion removes the download job record permanently
  • Cannot recover deleted jobs or their associated data
  • If download is still processing, it will be cancelled
  • Already completed downloads will have their records removed from your download history

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Query Parameters

download_id
string
required
Example:

"download-12345"

Response

200 - application/json

Download deleted

success
boolean
Example:

true

message
string
Example:

"Operation successful"