Is it applicable to get a role’s users list as per this API and be able to query the result using advanced search options (Lucene syntax) ?
Objective is, we have for each user a custom app_metadata.
We would like to retrieve a list of users in a specific role filtered by some values in the app_metadata.
One suggest is to add list of roles as an app_metadata to each user and use it in GET
api/v2/users/ directly as a query parameter.
Is there an out of the box way?