JavaScript: List all users

Get a list of users.

Parameters

Examples

Get a page of users

const \{ data: \{ users \}, error \} = await supabase.auth.admin.listUsers()

Paginated list of users

const \{ data: \{ users \}, error \} = await supabase.auth.admin.listUsers(\{
  page: 1,
  perPage: 1000
\})