API Reference

DELETE /v2/indices/{index public key}/documents:batch

Remove multiple documents from the index.

Payload

The payload includes a list of document ids in an array.

{
  "documents": ["a9b9f04336ce0181a08e774e01113b31",
                "68486f8ffd0f928de748de19b663c60a"]
}
FieldDescriptionTypeNotes
documentsThe list of the document IDs to deleteString, an array of document IDsURLs encoded as md5 hash.

Response

On successful queuing of the delete operations, the endpoint returns an HTTP 202.

Was this helpful?

Need more help?

We’re always happy to help with code or other questions you might have. Search our documentation, contact support, or connect with our sales team.