Skip to main content

passwordChange Mutation

Change the password of the logged in user.

Requires the AUTHENTICATED_USERpermission.
passwordChange(
newPassword: String!
oldPassword: String
): PasswordChange
Details
type PasswordChange {
user: User
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}

Arguments

newPassword ● String!

New user password.

oldPassword ● String

Current user password.

Type

PasswordChange

Change the password of the logged in user.

Requires the AUTHENTICATED_USERpermission.