Skip to main content

Delete Collection

Delete a collection and all its vectors permanently.

DELETE /v1/collections/{name}

Request

Headers:

x-api-key: your-api-key

Path Parameters:

ParameterDescription
nameCollection name

Example

curl -X DELETE http://localhost:8000/v1/collections/articles \
-H "x-api-key: test-key"

Response

{
"status": "success",
"data": {
"deleted": "articles"
}
}
danger

This operation is irreversible. All vectors, metadata, and the HNSW index for this collection are permanently deleted.

Errors

CodeReason
404Collection not found
401Missing or invalid API key
403API key does not have write permission