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

# Delete Inbox • AI Agent SDK

> delete_inbox: Delete an inbox.

# delete\_inbox

<div className="flex items-center gap-2">
  <Badge color="blue">Async</Badge>
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**EmailProtocol**](../classes/EmailProtocol) class in the [**protocols**](../modules/protocols) module.

Delete an inbox.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def delete_inbox(inbox_id: str) -> bool
```

## Parameters

<ParamField query="inbox_id" type="str" required={true}>
  ID of the inbox to delete
</ParamField>

### Returns

<ResponseField name="Returns" type="bool">
  True if deleted successfully
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/bots/protocols.py#L1294">
  `praisonaiagents/bots/protocols.py` at line 1294
</Card>
