List all users
Get a list of users.
- Defaults to return 50 users per page.
Parameters
params
Optional
PageParamsAn object which supports page
and perPage
as numbers, to alter the paginated results.
page
Optional
numberThe page number
perPage
Optional
numberNumber of items returned per page
const { data: { users }, error } = await supabase.auth.admin.listUsers()