Skip to main content
This action is irreversible. Proceed with caution.
Deletes the current index and all its associated data.
Deletes the current index and its associated data. This action is irreversible, so proceed with caution.

Parameters

Deleting an index is an admin operation gated on the root index KEK. It rejects RBAC user contexts — a per-user key cannot delete the index.

Exceptions

  • Throws if the index could not be deleted.

Example Usage

Per-operation key override

The call above reuses the key supplied at create_index() / load_index(). You may instead pass index_key= (the root index KEK) to override the per-operation key, which is required in stateless/service deployments that reload the index per request: