Help Centre › Functions & Formulas
This article describes the RPA Google Drive functionality to remove a permission.
For a full list of available functions, please read Google Drive functions.
Description
The Google Drive Remove permission function removes a permission (revokes someone's access) from a file.
Setting it up
To use the Google Drive Remove permission function, follow these instructions:
{{popups:rpas/add:action=google-workspace-drive-remove-permission}}
Once on a process map:
- Navigate to the process where you would like to add the Google Drive Remove permission function
- Click on the green button's drop-down (right side of the green button labelled "Process")
- On the menu that appears, click on the "+ Activity" item
- From here you can select the Google Drive Remove permission option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File ID | Yes | Text | - | The file ID to remove the permission from |
| Permission ID | Yes | Text | - | The permission ID to remove (from list_permissions) |
Output variables
This action does not produce output variables.
Errors
| Error | Description |
|---|---|
| File not found | The specified file ID does not exist |
| Permission not found | The specified permission ID does not exist |
| Cannot remove owner | The file owner's permission cannot be removed |
Tips
- Use List permissions first to get the permission ID
- You cannot remove the owner's permission