I can’t find a way to search for an exact match via API call when looking for a user with a certain email address.
Now I want to change the email address of user #3 in the database.
Therefore I try to get the corresponding ID of user #3 via REST API call:
The API request returns user #1, user #2 and user #3 in the JSON response.
So what I have to do now in my code is to check for the exact match of the email address “firstname.lastname@example.org” in all users returned in the JSON response object.
It would be more convenient if the API request would only return the user with an exact match in its email address.
Does anybody know if there is a way to achieve this via an API call?