updateUser
Update the account user details of the authenticated user. Email address changes are silently ignored for OEGB clients.
Arguments
Input fields for updating user.
Returns
UpdateUserMutationUpdate the account user details of the authenticated user.
Only one name field can be updated per day, other fields can be updated freely. This prevents users from switching accounts to someone else (usually when moving homes). All account changes should be handled by operations or the move out journey. New customers are exempt from this rule for the first 31 days.
This field requires the Authorization header to be set.
Possible Errors
Allowed Viewers
Required Permissions
Can book smart meter appointmentsCan update user details
Query Complexity
1Examples
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.
mutation UpdateUser($input: UpdateUserInput!) {
updateUser(input: $input) {
viewer {
...AccountUserTypeFragment
}
}
}
Variables
{
"input": UpdateUserInput
}
Response
{
"data": {
"updateUser": {
"viewer": AccountUserType
}
}
}