cURL
deleteByIds
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" }
Delete documents by document IDs or query filter from a collection.
Project API Key.
Collection name.
Delete request accepted.
The response is of type object.
object
Was this page helpful?