Adds a new permission to the doc.
docIdID of the doc.
accessRequiredstringType of access to grant. 'readonly' allows viewing only, 'write' allows editing, 'comment' allows commenting.
principalRequiredobjectThe user, group, domain, or anyone principal to grant access to. Use type='email' with email field for individual users, type='group' with groupId for groups, type='domain' with name for domain access, or type='anyone' for public access.
suppressEmailbooleanWhen true, suppresses email notification to the principal about the new permission. Default is false.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.