Reset Password
Reset a user's password
Last updated
Reset a user's password
Last updated
The resetPassword
mutation will reset the user's password through a code previously generated by the requestResetPassword
mutation.
Execute the requestResetPassword
mutation in order to get the code to be used to reset the password.
The following example updates the password by using a giving reset code.
Argument
Type
Description
code
String
Code to be retrieved in the requestResetPassword
mutation
newPassword
String
The User’s new password
Field
Type
Description
success
Boolean
True if the reset password has been updated successfully
False if the reset password has not been updated successfully
message
String
Description of the result