changePassword
Changes the authenticated user's password after verifying the current password. Requires a valid session token. Returns true on success; throws if the current password is wrong. Existing sessions are not revoked.
changePassword(
currentPassword: String!
newPassword: String!
): Boolean!
Arguments
changePassword.currentPassword ● String! non-null scalar
The user's current password, for verification.
changePassword.newPassword ● String! non-null scalar
The new password to set (min 8 characters).
Type
Boolean scalar
The Boolean scalar type represents true or false.