This action is irreversible. Proceed with caution.
Deletes the current index and all its associated data.
Parameters
DeleteIndex requires the root index KEK. A per-user KeyContext (one built with a user_kek and user_id) is rejected — RBAC users cannot delete the index.
Exceptions
- Throws if the index could not be deleted.
- Throws if a per-user key context is supplied instead of the root KEK.
Example Usage
index_key is the 32-byte std::array<uint8_t, 32> root index KEK and converts implicitly to a KeyContext.