remove_drive_permission
Remove a specific permission from a Google Drive file or folder to revoke access. Use dry run to preview changes before applying.
Instructions
Removes a permission from a Google Drive file or folder, revoking access.
Args: user_google_email (str): The user's Google email address. Required. file_id (str): The ID of the file or folder. Required. permission_id (str): The ID of the permission to remove (from get_drive_file_permissions). Required. dry_run (bool): If True, returns a preview and does not remove permissions. Defaults to True.
Returns: str: Confirmation of the removed permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| file_id | Yes | ||
| permission_id | Yes | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |