import { supabase } from "https://deno.land/x/blocks@1.75.0/deps.ts";
const { GoTrueAdminApi } = supabase;
Get a list of users.
This function should only be called on a server. Never expose your service_role
key in the browser.
Parameters
optional
params: PageParamsAn object which supports page
and perPage
as numbers, to alter the paginated results.
Returns
Promise<{ data: { users: User[]; aud: string; } & Pagination; error: null; } | { data: { users: []; }; error: AuthError; }>