Using machine to machine api how do I search for my users with a certain role for example business. I am required to grab a list of such users.
Here is a shape of my user:
user: { app_metadata: roles: [‘business’] }
Ideally I want to pass a query to my auth0 backend api which would return a list of users with such role.