For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
CloudGitHub
  • API Reference
      • POSTRetrieve points
      • PUTUpsert points
      • GETRetrieve a point
      • POSTDelete points
      • PUTUpdate vectors
      • POSTDelete vectors
      • POSTSet payload
      • PUTOverwrite payload
      • POSTDelete payload
      • POSTClear payload
      • POSTBatch update points
      • POSTScroll points
      • POSTCount points
      • POSTPayload field facets
LogoLogo
CloudGitHub
API ReferencePoints

Delete vectors

POST
/collections/:collection_name/points/vectors/delete
POST
/collections/:collection_name/points/vectors/delete
$# Delete vectors by ID
$curl -X POST \
> 'http://localhost:6333/collections/collection_name/points/vectors/delete' \
> --header 'api-key: <api-key-value>' \
> --header 'Content-Type: application/json' \
> --data-raw '{
> "points": [
> 0,
> 3,
> 10
> ],
> "vectors": [
> "text",
> "image"
> ]
>}'
$
$# Delete vectors by filter
$curl -X POST \
> 'http://localhost:6333/collections/collection_name/points/vectors/delete' \
> --header 'api-key: <api-key-value>' \
> --header 'Content-Type: application/json' \
> --data-raw '{
> "filter": {
> "must": [
> {
> "key": "color",
> "match": {
> "value": "red"
> }
> }
> ]
> },
> "vectors": [
> "text",
> "image"
> ]
>}'
200Successful
1{
2 "usage": {
3 "cpu": 1,
4 "io_read": 1,
5 "io_write": 1
6 },
7 "time": 0.002,
8 "status": "ok",
9 "result": {
10 "status": "acknowledged",
11 "operation_id": 1
12 }
13}
Deletes specified vectors from points. All other unspecified vectors will stay intact.
Was this page helpful?
Previous

Set payload

Next
Built with

Authentication

api-keystring
API Key authentication via header

Path parameters

collection_namestringRequired
Name of the collection to delete from

Query parameters

waitbooleanOptional
If true, wait for changes to actually happen
orderingenumOptional
define ordering guarantees for the operation
Allowed values:

Request

Delete named vectors from points
vectorlist of stringsRequired
Vector names
pointslist of uint64s or strings or nullOptional
Deletes values from each point in this list
filterobject or anyOptional
Deletes values from points that satisfy this filter condition
shard_keystring or uint64 or list of strings or uint64s or anyOptional

Response

successful operation
usageobject or any
timedouble
Time spent to process this request
statusstring
resultobject