This action is irreversible. Proceed with caution.
To delete an existing encrypted index, you can connect to it and then call the delete_index() method.
Copy
Ask AI
from cyborgdb import Client# Create a clientclient = Client( base_url='http://localhost:8000', api_key='your-api-key')# Provide the same index key and config used when creating the indexindex_key = your_existing_32_byte_key # Must be the same key used originally# Connect to the existing indexindex = client.load_index( index_name="my_index", index_key=index_key)# Delete the indexindex.delete_index()