Skip to main content

updateUser

Update a user's GitHub username or email address

updateUser(
input: UpdateUserInput
): UpdateUserPayload!

Example

mutation ($input: UpdateUserInput) {
updateUser(input: $input) {
user {
auth0Id
authMethod
displayName
emailAddress
githubUsername
id
isConsideredInactive
isEmailLegacyUnverified
isEmailVerified
isVIP
isVipAuthUser
lastSeenAt
samlIdentityProviderName
samlNameId
samlOrganizationId
trackingUserId
vipAuthId
wpcomUsername
}
}
}

Arguments

updateUser.input ● UpdateUserInput input common

The user changes to apply.

Type

UpdateUserPayload object common

The result of updating a user.