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

# files_empty_trash

> Permanently delete all of the user's trashed files. Pass `driveId` to empty a shared drive's trash instead.

<div className="tool-route"><span className="tool-row-method" data-method="DELETE">DELETE</span><code>{"https://www.googleapis.com/drive/v3/files/trash"}</code></div>

```python gdrive_files_empty_trash.py theme={null}
from charter.packs import gdrive

result = await gdrive.files_empty_trash.ainvoke({})
```

<Note>
  Requires `https://www.googleapis.com/auth/drive`. Costs 1 against the provider's own quota.
</Note>

## Query parameters

<div className="reference-table">
  | Field     | Type     | Description                                             |
  | --------- | -------- | ------------------------------------------------------- |
  | `driveId` | `string` | If set, empties the trash of the provided shared drive. |
</div>
