Skip to main content
GET
List who a workspace is shared with
Returns the workspace’s human access bindings: people with their role, and groups. This is a management action. See User provisioning for how people and groups get into OneCLI. The workspace’s human access bindings — people (with their management role) and groups. A management action.
Availability: Cloud · Enterprise (self-hosted). Not available on the Community edition: a self-hosted deployment needs ENTERPRISE_ENABLED=true, otherwise the endpoint answers 403 with error.type: "enterprise_license_required".

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

workspaceId
string
required

Response

The bindings

users
object[]
groups
object[]