Deletes documents from the vector store or deletes the entire index.
Embedded
Python SDK
JS/TS
Parameters
Returns
bool: True if deletion was successful, False otherwiseExample Usage
Parameters
Returns
bool: True if deletion was successful, False otherwiseExample Usage
Parameters
Returns
Promise<void>: Resolves on success, throws on failureThe JS/TS SDK does not support the delete_index parameter. To delete an entire index, use the CyborgDB service client directly.
Unlike the Python SDKs which return bool, the JS/TS method returns void and throws an error on failure.
Example Usage
Async
The Embedded and Python SDK provide async versions of this method prefixed with a:
JS/TS methods are natively async — all signatures above already return Promise<...>. No separate async variant is needed.