Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/live/deps.ts>supabase.GoTrueAdminApi#updateUserById

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
method supabase.GoTrueAdminApi.prototype.updateUserById
Re-export
import { supabase } from "https://deno.land/x/live@1.53.10/deps.ts";
const { GoTrueAdminApi } = supabase;

Updates the user data.

Parameters

uid: string

The data you want to update.

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

attributes: AdminUserAttributes

Returns

Promise<UserResponse>