Update File Permission

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

Unless otherwise indicated, field types are text.

Required fields are indicated by a red asterisk.


  • File ID: Unique ID of the file in Google Drive. The ID of a file can be found by navigating to the Google Drive web. Right click on the file you need, 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 certain to select the entire ID (about 20 characters long). Alternatively, use the Search Files card to find the file by name. This card has a File ID output that can be dragged into this input field.

  • Permission ID: Permission ID for the user you want to update (get the ID as an output from Get File Permissions or Create Permission.)

  • Role: Role you want to set the user to, e.g.: organizer, owner, writer, commenter, or reader.

  • Remove Expiration (true/false): Whether or not to remove any existing expiration date associated with the permission.

  • Transfer Ownership (true/false): Must be set to True if setting a new owner, in which case the previous owner is assigned to "Can Edit" (writer).


  • Output

    • Permission ID: Permission ID for the user.

    • Display Name: Display name of the user.

    • Role: Role associated with the user.

Related topics

Google Drive connector

About the elements of Okta Workflows

G Suite API documentation