Explore Plans
Google Drive

Move a file to trash

This action will move a file you specify by its Drive link to the Google Drive trash, where it can be restored for 30 days. It never deletes permanently and does not trash folders.

Developer info

API endpoint slug
google_drive.trash_file
Filter method
GoogleDrive.trashFile.skip(string?: reason)
Runtime method
runAction("google_drive.trash_file", {})

Action fields

File url Text input > Link

Label
Drive link of the file
Helper text
Paste a Drive or Docs link, or use a Drive link ingredient from a trigger
Slug
file_url
Required
true
Can have default value
true
Filter method
GoogleDrive.trashFile.setFileUrl(string: file_url)