identity_get_user_org_roles
Retrieves the roles assigned to the currently logged-in user within a specified organization. Use it to verify organization-level permissions.
Instructions
[DEPRECATED] Get the currently logged in user's roles.
Use these APIs instead: * /oidc/userinfo * /cloudapi/1.0.0/roles ### Access Policy | Role | Access | | ----- | ----- | | Platform operator | ✔️ | | Organization Owner | ✔️ | | Organization Member | ✔️ | | Service Account (Whitelisted Client) | ✔️ |
GET /csp/gateway/am/api/loggedin/user/orgs/{orgId}/roles
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgId | Yes | (path) |