How to setup a filter with wildcards to an API Query

Hi all,

We are facing a problem with the following API..
Users > Get > Get the list of available users
GET /api/v2/users

This gives the results in pages, and when we arrived the limit of 10'000 pages, the query stops with an error.

unfortunately it is not possible to add any filters to this query.

Can we use instead of that the /api/v2/scim/v2/users ?

if yes, can we add a filter with wildcard to this API?
e.g.
email eq *@mydomain.ch
or
email contains @mydomain.ch

Many thanks in advance!

Best regards,
Raj

This API has a hard limit of being able to return a maximum of 100,000 users. There is currently no way to page through additional users if you have more users in your org than that. You can request new features and share your use case for having 100,000+ users at https://genesyscloud.ideas.aha.io/.

SCIM is a specification with a specific purpose, which is to synchronize users between systems; it is not an alternative to GET /api/v2/users.

Hi Tim,

Thank you for the Information.
I will open an idea / enhancement request for this limitation problem.

Whether this idea will be accepted or when we can have it, is no one knows :frowning:

Is there a possibility to use a filter with wildcard to narrow the result?

Thanks!
Raj

The only available options are the ones documented, which does not include the ability to filter: GET /api/v2/users.

There are search endpoints: POST /api/v2/users/search. It's not directly equivalent to the user endpoint, but you can get back the IDs and look up the users individually.

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