Skip to content

Delete Collection

DELETE
/api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId}
curl --request DELETE \
--url https://dashboard.quantcdn.io/api/v3/organizations/example/ai/vector-db/collections/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Deletes a vector database collection and all its documents. This action cannot be undone.

organisation
required
string

The organisation ID

collectionId
required
string format: uuid

The collection ID

Collection deleted successfully

Media typeapplication/json
object
success
boolean
message
string
Example
{
"success": true,
"message": "Collection deleted successfully"
}

Access denied

Collection not found

Failed to delete collection