identity_get_logged_in_user_groups_on_org
Retrieves the groups assigned to the logged-in user within a specified organization to support access checks.
Instructions
[DEPRECATED] Get Principal User Groups Information Within the Specified Organization
Use this API instead: * /scim/v2/Users ### Access Policy | Role | Access | | ----- | ----- | | Platform operator | ✔️ | | Organization Owner | ✔️ | | Organization Member | ✔️ | | Service Account (Whitelisted Client) | ✔️ |
GET /csp/gateway/am/api/loggedin/user/orgs/{orgId}/groups
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"orgId": "<orgId>"
},
"name": "identity_get_logged_in_user_groups_on_org"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgId | Yes | (path) |