
sb5i5 (sb5i5) asked a question.
Get assigned user for application api call returns unassigned users
When calling the api call I get users that were unassigned over a week ago.
Very small account with ±16 users.
Is it a matter of time to update or something else that I'm missing?

Hi @sb5i5 (sb5i5) , Thank you for reaching out to the Okta Community!
Just tested it in my environment and it’s working fine. I assigned and re-assigned users to the app and ran the GET: {{url}}/api/v1/apps/{{appId}}/users call, each time the information reflected immediately and was correct.
Please make sure you have the right appID and are running the query in the right environment Prod vs Preview.
If you continue encountering issues with it, please open a support case to have one of my Support colleagues have a look at your implementation and help you get to the bottom of things.
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--------------------------------
Ask the Experts: Now Thru 1/31 Okta FastPass Engineering and Product Teams Answer Your Questions