Folder
Share folder with an entity.
- Specify the type of entity to share with using entries.entryType:
- 0 (User)
- 1 (Company)
- 2 (Team)
- 3 (Document)
- 4 (Application)
- Provide one of the identifiers in the entries object in the request body.
- You can share with non-Onshape users with the email field when entryType=0.
- Provide the string for the permission set. Do not include the integer in parentheses:
- OWNER (100): Object owner. Implies all permissions including those not listed such as permission to transfer ownership.
- DELETE (90)
- RESHARE (80)
- WRITE (70)
- READ (60)
- LINK (50)
- COPY (30): Can copy workspace
- EXPORT (20): Can export geometry
- COMMENT (10)
- ANONYMOUS_ACCESS (5): Special, restricted read access
post/folders/{fid}/share
Request
- Base URL: https://cad.onshape.com/api/v17
- URL: https://cad.onshape.com/api/v17/folders/{fid}/share
- Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token, scopes: OAuth2Read, OAuth2Share) and HTTP basic
Path parameters
fidstring required
Response
default response
Changes
No recorded changes to this operation across all 1 revision of this API.