trash_nodes
Moves files or folders, including all contents, to the trash instead of permanently deleting them, keeping items recoverable until the retention period ends.
Instructions
Move one or more files or folders, with everything inside them, to the trash. Nothing is permanently deleted: items stay listed in list_trash and recoverable with restore_nodes until the retention period ends (30 days by default), and the user can also undo the change from the app's activity log. All-or-nothing; returns success. For per-item results or a dry-run preview, use batch_nodes. Requires files:delete; pass idempotency_key to make retries safe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_ids | Yes | node UUIDs to process | |
| idempotency_key | No | stable retry key, maximum 128 bytes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes |