Skip to main content

Arguments

input : UpdateUserInput! required

Input fields for updating user.

Returns

UpdateUserMutation

Output type of the updateUser mutation.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can book smart meter appointments
OR Can update user details

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation UpdateUser($input: UpdateUserInput!) { updateUser(input: $input) { viewer { ...AccountUserTypeFragment } } }

Variables

{ "input": UpdateUserInput }

Response

{ "data": { "updateUser": { "viewer": AccountUserType } } }