Skip to main content
googleDrive.updatePermission change a Drive permission’s role or expiration.

Example

Inputs

Provide fileId, permissionId, and at least one of role or expirationTime. Set expirationTime: null to remove an expiration. A new expiration must be in the future and no more than one year away. The action verifies that the existing permission belongs to a user or group before setting an expiration. A second argument with account selects a Google Account.

Output

Returns the updated normalized permission.