Skip to main content
POST
Preview a role mapping's impact
Reports how many members would change role if you saved a mapping, without changing anything. Use it before you create or edit a mapping that touches a large group. Related guide: User provisioning: groups and roles. How many members would change role if the mapping were saved.
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.

Body

application/json
groupId
string
required
role
enum<string>
required
Available options:
admin,
member

Response

The impact

affectedCount
integer