Skip to main content
PATCH
Rename a group
Changes a group’s display name. Members, role mappings, and workspace shares stay attached, because they reference the group by ID. Use it to keep group names aligned with your org chart. 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

Body

application/json
name
string
required
Maximum string length: 100

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>