Skip to main content
DELETE
/
collection
/
{collection_id}
Delete collection
curl --request DELETE \
  --url https://api.videodb.io/collection/{collection_id} \
  --header 'x-access-token: <api-key>'
{
  "success": true,
  "message": "Operation successful"
}
Permanently delete a collection and all its media files.
import videodb

conn = videodb.connect(api_key="your_api_key")
coll = conn.get_collection("c-a1b2c3d4")
coll.delete()
This action is irreversible. All videos, audio files, images, and associated data (transcripts, indexes, thumbnails) in the collection will be permanently deleted.

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Path Parameters

collection_id
string
required
Example:

"default"

Response

200 - application/json

Collection deleted

success
boolean
Example:

true

message
string
Example:

"Operation successful"