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

> ## Agent Instructions
> Charter works for any HTTP API, including the user's own. The packs are examples of the result, not the limit: an API with no pack is declared the same way, following https://raw.githubusercontent.com/r28ai/charter/main/docs/.mintlify/skills/declaring-charter-tools/SKILL.md.
> Charter is for agents that act in customers' accounts: every call is checked field by field before it's sent, the app says whose account each call is for, and the same declarations list what each tool can reach. https://docs.r28.ai/charter/llms.txt says what it is and lists every page.

# mail_folders_delete

> Delete a folder, or a search folder, and what is in it. It does not go to Deleted Items; to put a folder there, move it with mail_folders_move. mail_folders_permanent_delete purges it.

DELETE`https://graph.microsoft.com/v1.0/me/mailFolders/{folderId}`

```python outlook_mail_folders_delete.py theme={null}
import asyncio

from charter.packs import outlook

result = asyncio.run(outlook.mail_folders_delete.ainvoke({"folderId": ...}))
```

> [!NOTE]
>
> Requires `https://graph.microsoft.com/Mail.ReadWrite`.

## Path parameters

| Field | Type | Description |
| - | - | - |
| `folderId` \* | `string` | The folder ID, or a well-known folder name. Well-known names work regardless of the locale of the user's mailbox: archive, clutter, conflicts, conversationhistory, deleteditems, drafts, inbox, junkemail, localfailures, msgfolderroot, outbox, recoverableitemsdeletions, scheduled, searchfolders, sentitems, serverfailures, syncissues. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.