Skip to main content

Delete Vector

Delete a single vector by its external ID.

DELETE /v1/collections/{name}/delete/{id}

Request

Headers:

x-api-key: your-api-key

Path Parameters:

ParameterDescription
nameCollection name
idExternal ID of the vector to delete

Example

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

Response

{
"status": "success",
"data": {
"deleted": "doc-1"
}
}

Errors

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