Related guides
Endpoints
Next steps
- API overview: base URLs, authentication, and pagination
- Errors: status codes and the error format
- Editions: which endpoints each edition serves
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Read and replace who a workspace is shared with using the OneCLI API. Add people with a management role, or share with whole groups at once.
| Endpoint | Method and path | What it does |
|---|---|---|
| List who a workspace is shared with | GET /workspaces/{workspaceId}/access | List the people and groups a workspace is shared with, including each person’s management role. |
| Replace who a workspace is shared with | PUT /workspaces/{workspaceId}/access | Replace the full set of people and groups a workspace is shared with. |