Use API to retrieve application users where scope = user

I want to retrieve a list of users assigned to applications outside of groups. I am able to retrieve a list of users, and then check for scope = ‘user’. However, this requires a lot of interactions for applications with a large number of users. So I would like to filter the API call for scope=user, but I can’t figure out if this is supported.

1 Like

Hello @RogerSo,

While you can query the /users API with several User Query Parameters, “scope” is not one of them. So if you want to query those users, you’ll need to do it the way you have been, getting results and parsing them on your end.

1 Like

@daniel.sanders is it possible to add this functionality? This endpoint is exceedingly slow, especially for large orgs, and the majority of the data is useless for my use case. I looked into observing user assignment events for this, but found that those events don’t even show the scope.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.