# trash_document

> Move a draft PDF to the Trash, as Delete does in the web app.

Tool of the AppliFlo MCP server at `https://appliflo.com/api/mcp`. Kind: destructive: it emails people or cancels a send, so clients ask you first.

Move a draft PDF to the Trash, as Delete does in the web app. It can be restored for 30 days (restore_document), then it is deleted for good. Only drafts: a document that was sent is the record of what was signed and is refused (409). A member may trash only their own drafts; owners and admins any. Returns { id, name, deleted_at, days_left }. Two steps: called WITHOUT confirm: true it does nothing and returns an error saying what it would do (the details are in structuredContent); show that to the user and, once they agree, call again with the same arguments and confirm: true.

## Inputs

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `document_id` | string | yes |  |
| `confirm` | boolean | no | true to really do it. Without it nothing happens: you get an error describing what would happen, to show the user |
