
o597q (o597q) asked a question.
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

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!