OramaSearch Inc. LogoOramaCore
APIs Reference

Delete Documents

APIs to delete documents into an OramaCore collection.

APIs

API Key type: write_api_key. Do not expose it to the public.

Once you have a collection with at least one index and some documents in it, you can start deleting documents using the following API:

curl -X POST \
  http://localhost:8080/v1/collections/{COLLECTION_ID}/indexes/{INDEX_ID}/delete \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <WRITE_API_KEY>' \
  -d '[<DOCUMENT_ID_1>, <DOCUMENT_ID_2>]'

The documents will be immediately deleted from the index.

On this page