v2
OpenAPI 3.1.02026-08-05298342605.2 KBCapability Sources
Share a Google Drive file with a person or the organization
Creates a Drive permission for one file using the calling member's Google Workspace account. To share with one person pass type=user plus emailAddress; to share with the entire organization pass type=domain plus the org's Google Workspace domain (e.g. openworklabs.com). Sharing files not created through OpenWork needs the Full Drive access feature enabled by an admin.
post/v1/capabilities/google-workspace/drive-file-share/{fileId}
Path parameters
fileIdstring required
Google Drive file id.
Request body
Response
Google Drive file shared.