Update File Permission

Update the permission settings of a particular user for a particular file.

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.

String 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.

String 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. Boolean FALSE
Transfer Ownership Must be set to True if setting a new owner, in which case the previous owner is assigned to Can Edit. Boolean FALSE

Output

Field Definition Type
Permission ID Permission ID for the user String
Display Name Display name of the user String
Role Role associated with the user String

Related topics

Google Drive connector

About the elements of Okta Workflows

G Suite API documentation