Skip to main content
GET
Get a group
Returns one directory group by ID. Use it to check a group’s name and source before you change its members or map it to a role. Groups created through SCIM are managed by your identity provider, so edit those there. Related guide: User provisioning: groups and roles.
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

groupId
string
required

Response

The group

id
string
name
string
source
enum<string>
Available options:
manual,
scim
externalId
string | null

The identity provider's id for SCIM-synced groups.

memberCount
integer
createdAt
string<date-time>
updatedAt
string<date-time>