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
Details
type SetPassword {
token: String
refreshToken: String
csrfToken: String
user: User
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}

Arguments

email ● String!

Email of a user.

password ● String!

Password of a user.

token ● String!

A one-time token required to set the password.

Type

SetPassword

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