Capability Sources
Share a Google Drive file with a person or the organization
Changed onCreates 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}
Request
- Base URL: https://api.openworklabs.com
- URL: https://api.openworklabs.com/v1/capabilities/google-workspace/drive-file-share/{fileId}
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Path parameters
fileIdstring required
Google Drive file id.
Request body
Response
Google Drive file shared.
Changes
- info
added the optional property
to the response with the status
- info
- info
the endpoint scheme security
bearerAuthwas added to the API - info
the endpoint scheme security
denApiKeywas added to the API
- info