Skip to main content

updateUser

Mutation used to update a user given the user's ID and UpdateUserInput.

Returns the updated user if successful and null if unsuccessful.

Any omitted fields in UpdateUserInput are not modified

updateUser(
id: ID!
input: UpdateUserInput!
): User

Arguments

id (ID!)

ID of the user to be updated

input (UpdateUserInput!)

Parameters used to update the user

Type

User

Represents a user that is associated with a account