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('http://localhost:8000', '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 originallyindex_config = your_existing_index_config # Must match original config# Connect to the existing indexindex = client.create_index("my_index", index_key, index_config)# Delete the indexindex.delete_index()