List the groups a user belongs to
GET/groups/by-user/:user_code
Reverse lookup of a user's group memberships: returns the active groups the user is a materialized member of (static and dynamic kinds; system role/ou groups are projected elsewhere). Gated by groups:read.
Request
Responses
- 200
- 400
- 401
- 403
- 429
- 500
Successfully retrieved the user's groups
Bad request - user code is required
Unauthorized
Forbidden - request denied by authorization, or blocked by the API firewall
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Retry-After
Delay in seconds a client must wait before retrying the request
Internal server error