Skip to main content

setPassword Mutation

Sets the user's password from the token sent by email using the RequestPasswordReset mutation.

setPassword(
email: String!
password: String!
token: String!
): SetPassword

Arguments

setPassword.email ● String! non-null scalar miscellaneous

Email of a user.

setPassword.password ● String! non-null scalar miscellaneous

Password of a user.

setPassword.token ● String! non-null scalar miscellaneous

A one-time token required to set the password.

Type

SetPassword object users

Sets the user's password from the token sent by email using the RequestPasswordReset mutation.