
07be6 (07be6) asked a question.
Hello,
I am trying to use OKTA api specially for users & users groups using Postman collection provided from OKTA developers site and following documentation - https://developer.okta.com/docs/reference/api/users/*list-users-with-search
as per document it says "search parameter are case sensitive, whereas operators (eq, sw, etc.) and string values are case insensitive." - however when I trying with case insesitive value I am getting no results for "eq". also having issue with "sw" as it is completely not working and even for simple query and error is like: /api/v1/users?filter=profile.firstName sw "Avinash"
Error:
"errorCode": "E0000031",
"errorSummary": "Invalid search criteria.",
Please suggest how can I get this both scenarios working?
Thanks,
Avinash

Hi, @07be6 (07be6)
Thank you for posting on our Community page!
In the documentation you already checked and https://developer.okta.com/docs/reference/api/users/#list-users-with-a-filter, there are the following mentions:
sw is not supported in list search. eq should work; If there is no result, it does not find any match for that first name search value in your API call. If filtering by email, lastName, or firstName, it may be easier to use q instead of filter.
Hope this helps!
Thank you for reaching out to our Community and have a great day!
_____________________________________________________________________________
Join us in the Oktane discussion group to connect with attendees or just stay connected to the event.
_____________________________________________________________________________
If my answer helped, remember to select it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
_____________________________________________________________________________