Skip to main content
DELETE
/
image
/
{image_id}
Delete image
curl --request DELETE \
  --url https://api.videodb.io/image/{image_id} \
  --header 'x-access-token: <api-key>'
{
  "success": true,
  "message": "Operation successful"
}
Permanently deletes an image from a collection. This action is irreversible and cannot be undone.
import videodb

conn = videodb.connect(api_key="your_api_key")
coll = conn.get_collection()

coll.delete_image("i-xyz789")
print("Image deleted successfully")
  • This permanently removes the image and cannot be recovered
  • Ensure you have the correct image ID before proceeding
  • Deletion is immediate and applies to all associated data

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Path Parameters

image_id
string
required
Example:

"img-12345"

Response

200 - application/json

Image deleted

success
boolean
Example:

true

message
string
Example:

"Operation successful"