identity_get_user_roles_in_organization
Retrieves a user's roles in a specific organization using the user and organization IDs; deprecated in favor of the SCIM users endpoint.
Instructions
[DEPRECATED] Get the user's roles.
Use this API instead: * /scim/v2/Users/{{userUrn}} Currently one user can belong to exactly one organization. ### Access Policy | Role | Access | | ----- | ----- | | Platform operator | ✔️ | | Organization Owner | ✔️ | | Organization Member | ❌ | | Service Account (Whitelisted Client) | ❌ |
GET /csp/gateway/am/api/users/{userId}/orgs/{orgId}/roles
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgId | Yes | (path) | |
| userId | Yes | (path) |