> For the complete documentation index, see [llms.txt](https://docs.ellipsis-drive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ellipsis-drive.com/developers/api-v3/path/trash-or-recover-a-path.md).

# Trash or recover a path

| **Description** | Moves a path to or recovers a path from your trash. |
| --------------- | --------------------------------------------------- |
| **Endpoint**    | `/path/{pathId}/trashed`                            |
| **Method**      | PUT                                                 |

### Access Level Rules

| **Access Level** | edit+ |
| ---------------- | ----- |

### Processing Units

| **Processing units** | 0 |
| -------------------- | - |

### Parameters

<table><thead><tr><th>Name</th><th width="312">Description</th><th>Required</th><th>Default</th></tr></thead><tbody><tr><td><code>pathId</code></td><td>The id of the path to trash.</td><td>true</td><td></td></tr><tr><td><code>trashed</code></td><td>Boolean whether to trash or recover the path.</td><td>false</td><td>Default true.</td></tr></tbody></table>
