This action is irreversible. Proceed with caution.
To delete an existing encrypted index, you can load it and then call the delete_index() method.
import cyborgdb_core as cyborgdb# Get your API keyapi_key = "your_api_key_here" # Replace with your CyborgDB API key# Create a client (use the same backing store the index was created with)client = cyborgdb.Client(api_key, cyborgdb.StorageConfig.disk("/tmp/cyborgdb"))# Provide the SAME 32-byte key used when the index was created.# Retrieve it from your KMS/secret store — a fresh random key here would fail the load.index_key = bytes.fromhex("...") # the 64-char hex of your existing 32-byte index key# Load the encrypted indexindex = client.load_index("my_index", index_key)# Delete the indexindex.delete_index()