<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
0D51Y00007i86pqSAAOkta Classic EngineAdministrationAnswered2024-10-30T09:00:09.000Z2020-02-05T14:13:22.000Z2020-02-05T15:08:16.000Z

o597q (o597q) asked a question.

Postman newbee - how to run the API: "List Group Members (Users)"

I am using Postman.

The API call is: {{url}}/api/vi/groups/{{groupId}}/users

The url is set in the Postman Env.

Of course when I run this call i get error: Resoure not found: {{groupId}}

 

Where do i set this variable {{groupId}} ?

 

Thanks,

Pjotrb

 


  • bc221 (bc221)

    Login to Okta Admin >> Go to Directory >> Groups >> click on your group >> if you look at your URL in the browser you will see groupId. e.g url = https://<tenant>-admin.okta.com/admin/group/<groupId>

     

    There are many ways of getting groupid and above one is convenient. Alternative is to use List Groups API ({{url}}/api/v1/groups).

     

    Let me know if that helps!

    Expand Post
This question is closed.
Loading
Postman newbee - how to run the API: "List Group Members (Users)"