This action is irreversible. Proceed with caution.

Deletes the current index and all its associated data.

def delete_index(self)

Exceptions

Example Usage

# Load index
index = client.load_index(index_name=index_name, index_key=index_key)

# Delete the index
index.delete_index()