zid_get_user_groups
Retrieve all groups a specific user belongs to by providing their user ID. Returns group ID, name, description, dynamic flag, and source IdP.
Instructions
List the groups a ZIdentity user belongs to, by user ID. Read-only.
Returns lean group summaries (id, name, description, dynamic flag, source IdP) for each of the user's group memberships.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Optional JMESPath expression applied to the results after the API call, for client-side filtering and projection. Field names are exactly what the Zscaler API returns. Examples: "[?enabled==`true`]", "[*].{name: name, id: id}", "length(@)". Omit to get the full records. | |
| offset | No | ||
| user_id | Yes |