Skip to main content
GET
List a member's groups
Returns every group that contains the member. Group mappings can set roles, so this helps explain a member’s current role. See Groups.
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

userId
string
required

Query Parameters

limit
integer
default:50

Page size.

Required range: 1 <= x <= 200
cursor
string

Opaque keyset cursor from the previous page's nextCursor.

q
string

Free-text filter (name or email).

Maximum string length: 200

Response

A page of groups

data
object[]
nextCursor
string | null