Prepare for the PgBouncer and IPv4 deprecations on 26th January 2024

Javascript Reference v1.0

List all users

  • Requires a service_role key.
  • This function should be called on a server. Never expose your service_role key in the browser.

const { data: user, error } = await supabase.auth.api.listUsers()