How to do wildcard search for user list

We have different aliases for email. I want to have user only based on certain email type.

For eg: email is “test@example.com

I want to filter all users which emails contains/ends with “example.com”.

Please help

Hi @GSharma1

Okta does not currently support co operator, however you can leverage Group Rules to move the users that match a specific criteria into a group and then use the List Group Members API to retrieve them.

Here is an example configuration for a group rule that matches the criteria that you’ve mentioned.

1 Like

Thanks @dragos for the help. But actually we are integrating with another organisation and pulling data from them. They will not do the activity which you have mentioned.

For now i will hit the get all users api and filter out the users based on the email.

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