drive_permissions_update
Update a file's sharing permissions by changing a user's role, such as from reader to writer. Supports role downgrades but not ownership transfers.
Instructions
Change an existing permission's role on a file (e.g. reader to writer). Can remove capabilities by downgrading a role. Ownership transfers are not supported. Per the Drive API: concurrent permissions operations on the same file aren't supported, only the last update is applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | New non-owner role | |
| fields | No | Fields to return (e.g. "id,role,type,emailAddress") | |
| fileId | Yes | The file the permission belongs to | |
| permissionId | Yes | The permission to update (get it from drive_permissions_list) |