Skip to main content

Change Drive permission

Change the role of an existing permission on a file or folder, e.g. from reader to writer.

Command in the Google Workspace toolkit · id ooa.google/drive_update_permission · 5 inputs (4 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialYesGoogle OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
Item IDStringYesFile or folder id. A path under My Drive starting with / also works, e.g. /Reports/2026/summary.pdf.
Permission IDStringYesPermission id from List Drive permissions or Share Drive item.
RoleStringYesNew access level.
Endpoint addressStringNoReplaces https://*.googleapis.com for testing or a proxy; leave empty normally.