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

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

Deletes the specified encrypted items stored in the index, including all its associated fields (`vector`, `contents`, `metadata`).

```python theme={null}
def delete(self, ids: List[str])
```

### Parameters

| Parameter | Type        | Description    |
| --------- | ----------- | -------------- |
| `ids`     | `List[str]` | IDs to delete. |

### Exceptions

<AccordionGroup>
  <Accordion title="RuntimeError">
    * Throws if the items 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 "item_1" and "item_2"
index.delete(["item_1", "item_2"])
```
