Homepage

user_update

Last edit: Nov 10, 2026

Updates a user, by default the currently signed in user, and returns it.
Atomic property operations are applied directly in the database first, then
the remaining attributes are saved

user_update(
  form_configuration_name: String
  form_name: String
  id: ID
  user: UserInputType!
): User

Arguments

form_configuration_name (String)

Deprecated, leave blank

form_name (String)

Deprecated, leave blank. Name of a legacy form that whitelists the
attributes that can be saved and runs its notifications and callbacks

id (ID)

ID of the user to update; the currently signed in user when omitted. Raises an error when neither is available

user (UserInputType)

Attributes to change

Type

User

User account of the instance, with its properties and profiles

Questions?

We are always happy to help with any questions you may have.

contact us