Apex
...
Types
Input & Output Types
Types.PermissionInput
represents input for updating permission for a resource(file/folder) using update permissions docid\ akbuxu09yllymvqoxa2at function following constructors are supported permissioninput( string action, string role, string resourceid, string resourcetype, string driveid, list\<string> emails, list\<string> resourceids ) permissioninput( string action, string resourceid, string resourcetype, string driveid, list\<string> emails ) class params/properties action one of grant of revoke role one of read of write resourceid you can get this value from content library docid\ wtj62wux2a6hgfwvpm4ij this is a id of the file/folder resourcetype one of file of folder you can get this value from content library docid\ wtj62wux2a6hgfwvpm4ij driveid this is id of the drive emails email ids for which you want to provide/revoke access resourceids list of resourceid