Skip to main content
POST
/
collections
/
{collectionName}
/
docs
/
delete
curl --request POST \
  --url https://{projectHost}/collections/{collectionName}/docs/delete \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "ids": [
    "example-doc-id-1",
    "example-doc-id-2"
  ]
}
'
{
  "message": "Delete request is accepted"
}

Authorizations

x-api-key
string
header
required

Project API Key.

Path Parameters

collectionName
string
required

Collection name.

Body

application/json
ids
string[]

A list of document IDs.

filter
object

Query filter.

Response

Delete request accepted.

message
string
required