Update File Permission
Update the permission settings of a particular user for a particular file.
Options
Field | Definition | Type | Required |
---|---|---|---|
Shared Drive? |
Choose from Yes or No. If Yes:
If No, actions with files and folders are performed from My Drive. |
Dropdown |
TRUE |
Additional Shared Drive information
When users share from Google Drive, they can control whether people can edit, comment on, or only view the file.
-
Viewer: People can view, but can't change or share the file with others, or delete files.
-
Commenter: People can add comments and suggestions, but can't change files, share files with others, or delete files.
-
Editor: People can make changes, accept or reject suggestions, share files with others, and version files. They can't delete files.
Files can be deleted by owner of a shared drive. Learn about how to share files from Google Drive here.
Performing operations on shared drives can cause delays if a user has multiple shared drives. Learn about shared drive file and folder limits here.
Input
Field | Definition | Type | Required |
---|---|---|---|
File ID |
Unique ID of the file. The ID of a file can be found by navigating to the Google Drive web. Right-click on the file and select get sharable link. The File ID is the last part of that link, after id=. Example: https://drive.google.com/open?id=1avkd2a. Make sure to select the entire ID (about 20 characters long). Alternatively, use the Search Files action card to find the file by name. See Search Files. The Search Files card has a File ID output field that can be dragged into this input field. |
Text |
TRUE |
Permission ID |
Permission ID for the user you want to update. To get the ID as an output other action cards, see Get File Permissions or Create Permission. |
Text |
TRUE |
Role |
Role to which you want to set the user:
|
Dropdown |
TRUE |
Remove Expiration |
Indicates whether or not to remove any existing expiration date associated with the permission. |
True/False |
FALSE |
Transfer Ownership |
Indicates whether changing a role to Owner downgrades the current owners to writers. Does nothing if the specified role is not Owner. Default is false. |
True/False |
FALSE |
Output
Field | Definition | Type |
---|---|---|
Permission ID |
Permission ID for the user. |
Text |
Display Name |
Display name of the user. |
Text |
Role |
Role associated with the user. |
Text |