App Logo
drive.google.com

Move a Google Drive file to the Bin

Automatically move a Google Drive file to the Bin on drive.google.com. Moves a file to Drive's Bin (never a permanent delete), given just the file's id — its parent folder is resolved automatically.

Input

fileId required

Drive file id to trash, i.e. the <id> in drive.google.com/file/d/<id>/view.

Output

fileId required
trashed required

FAQ

Moves a file to Drive's Bin (never a permanent delete), given just the file's id — its parent folder is resolved automatically.
Ask an AI agent connected to Reduck to run reduck/drive.google.com/trash_file, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/drive.google.com/trash_file
You do not need one. "Move a Google Drive file to the Bin" drives the real drive.google.com pages in a browser, so it works whether or not drive.google.com offers an API for this.
Required: fileId.
It returns fileId, trashed.
Yes. It acts as you on drive.google.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the drive.google.com cookies saved by the Reduck extension.
It makes changes on drive.google.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/drive.google.com/trash_file, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/drive.google.com/trash_file
It is part of Reduck's official curated catalogue.

Start building not clicking