Skip to main content
Version: 3.x

requestPasswordReset

Sends an email with the account password modification link.

Triggers the following webhook events:

  • NOTIFY_USER (async): A notification for password reset.
  • ACCOUNT_SET_PASSWORD_REQUESTED (async): Setting a new password for the account is requested.
  • STAFF_SET_PASSWORD_REQUESTED (async): Setting a new password for the staff account is requested.
requestPasswordReset(
channel: String
email: String!
redirectUrl: String!
): RequestPasswordReset

Arguments

requestPasswordReset.channel ● String scalar

Slug of a channel which will be used for notify user. Optional when only one channel exists.

requestPasswordReset.email ● String! non-null scalar

Email of the user that will be used for password recovery.

requestPasswordReset.redirectUrl ● String! non-null scalar

URL of a view where users should be redirected to reset the password. URL in RFC 1808 format.

Type

RequestPasswordReset object

Sends an email with the account password modification link.

Triggers the following webhook events:

  • NOTIFY_USER (async): A notification for password reset.
  • ACCOUNT_SET_PASSWORD_REQUESTED (async): Setting a new password for the account is requested.
  • STAFF_SET_PASSWORD_REQUESTED (async): Setting a new password for the staff account is requested.

Was this page helpful?