> ## 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.

```cpp theme={null}
void DeleteIndex();
```

### Exceptions

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

### Example Usage

```cpp theme={null}
index->DeleteIndex();
```
