Create Permission

Create a permission for a file in Google Drive.


Field Definition Type Required
Permission Type

Type of user, group, domain, or Google Drive user who can interact with the specified document. Options:

  • User
  • Group
  • Domain
  • Anyone
Dropdown TRUE
Permission Role

Level of permissions the User, Group, Domain or Anyone can have with the specified document. Options:

  • Owner
  • Can Edit
  • Can Comment
  • Can View
Dropdown TRUE


Field Definition Type Required
File ID Unique ID of the file for which you want to create the specific permissions String TRUE
Email Address Email address of the individual for whom permissions are created String TRUE
Email Message A custom message to include in notification emails about the permissions and document that were shared String 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. Boolean FALSE
Allow File Discovery Indicates whether the file will be discoverable or not Boolean FALSE
Domain User's domain String FALSE


Field Definition Type
Permission ID Current user's ID as visible in the permissions collection String
Share Link URL directly to the link that will pull up the file inside Google Drive, but is the share link for the user or group shared to the file with the permission set String

Related topics

Google Drive connector

About the elements of Okta Workflows

G Suite API documentation