googleDrive.deletePermission remove a permission from a Drive file.
Example
Inputs
ProvidefileId and permissionId. 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.
Remove a permission from a Drive file.
googleDrive.deletePermission remove a permission from a Drive file.
import { automation, onDashboardRun } from "automate.ax"
import { googleDrive } from "automate.ax/google-drive"
export default automation("Delete permission", () => {
onDashboardRun({ title: "Delete permission" })
googleDrive.deletePermission({
fileId: "file-id",
permissionId: "permission-id",
})
})
fileId and permissionId. A second argument with account selects a Google Account.