Dart Reference v2.0

Update a user

Parameters
    uid
    REQUIRED
    GenerateLinkType

    User ID of the user to update.

    attributes
    REQUIRED
    AdminUserAttributes

    Attributes to update for the user.


await supabase.auth.admin.updateUserById(
  '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4',
  attributes: AdminUserAttributes(
    email: '[email protected]',
  ),
);