There are a few accounts added to a directory. I am trying to fetch the account that matches with a specific primary email. I am trying to use filter in Fetch API but I am unable to do so. Please help.
The rest call you are using is only able to filter on external id or user name, it can't filter by email.
I'm afraid your code will need to fetch all the accounts and do the filtering itself, parsing the response for the primary email address.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.