I tried "/rest/api/3/user/search?query={query}". In this I have provided "demouser.jira@gmail.comss" as a query parameter. But the response returned multiple users having following email IDs:
Basically, even if I provide anything after '@' it is just matching the query parameter with existing users' display name and returning multiple users in response.
My requirement is to find the user details from email id with exact match (not the prefix of this attribute's value) as a query parameter.