
Naga KishoreI.14293 (Customer) asked a question.
Hi @Everyone,
I am using "LIST ALL GROUPS" API (https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UserResources/*tag/UserResources/operation/listUserGroups) to get all the groups assigned to the user. However, I'm getting only the first 200 groups assigned to the user. I have explored if there is any pagination that can be provided to get the rest of the groups. But there is no mention of such query parameter for the API. Can someone please help to find a way to get all the groups assigned to the user.

Hello @Naga KishoreI.14293 (Customer) , thank you for contacting Okta Community.
There is a limit parameter controlling the number of results per page. Pagination is also supported. Our Developer colleagues have documented this in more detail:
Groups - limit
Reference overview - Pagination
For more insight into this topic, I advise reaching out via devforum.okta.com.
While we'll do our best to answer your questions here, this medium is more inclined towards Okta's core products and features (non-developer work).
Regards.
--
Help others in the community by liking or hitting Select as Best if this response helped you.