googleDrive.trashFile move a Drive file to the trash.
Example
Inputs
ProvidefileId. A second argument with account selects a Google Account.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Move a Drive file to the trash.
googleDrive.trashFile move a Drive file to the trash.
import { automation, onDashboardRun } from "automate.ax"
import { googleDrive } from "automate.ax/google-drive"
export default automation("Trash file", () => {
onDashboardRun({ title: "Trash file" })
googleDrive.trashFile({ fileId: "file-id" })
})
fileId. A second argument with account selects a Google Account.