> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cyborg.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Index

<Warning>This action is irreversible. Proceed with caution.</Warning>

Deletes the current index and all its associated data.

```python theme={null}
def delete_index(self)
```

Deletes the current index and its associated data. This action is irreversible, so proceed with caution.

### Exceptions

<AccordionGroup>
  <Accordion title="RuntimeError">
    * Throws if the index could not be deleted.
  </Accordion>
</AccordionGroup>

### Example Usage

```python theme={null}
# Load index
index = client.load_index(
    index_name=index_name, 
    index_key=index_key
)

# Delete the index
index.delete_index()
```
