identity_patch_user_roles_on_organization
Update a user's service and organization roles within an organization by adding or removing role assignments.
Instructions
[DEPRECATED] (BETA) Update user roles in organization.
Use this API instead: * /cloudapi/1.0.0/users/{{userUrn}} Update service and organization roles of a user in the organization. ### Access Policy | Role | Access | | ----- | ----- | | Platform operator | ✔️ | | Organization Owner | ✔️ | | Organization Member | ❌ | | Service Account (Whitelisted Client) | ❌ |
PATCH /csp/gateway/am/api/v3/users/{userId}/orgs/{orgId}/roles
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body | |
| orgId | Yes | (path) | |
| userId | Yes | (path) |