<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008C3jYySAJOkta Classic EngineIntegrationsAnswered2024-09-01T09:04:24.000Z2016-04-19T22:01:08.000Z2018-04-02T20:36:35.000Z
How to determine if a user is member of a group in one API call?
Seems to be 2 approaches. Get the list of the users from the group (not good for a list of thousands). Get the list of group from the user. Not bad but it would be nice if https://my-domain.okta.com/api/v1/users/isaac.brock%40exmple.com/groups/myGroupName was supported. An empty object would indicate not a member while an array of 1 would indicate membership. That way I wouldn't have to look through the list myself. Not a huge effort of course, but would be nice to have the server whittle the list for me.

 

Anyone have a different technique or other info?

This question is closed.
Loading
How to determine if a user is member of a group in one API call?