Skip to main content
Version: 3.x

requestEmailChange

Request email change of the logged in user.

Requires AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • NOTIFY_USER (async): A notification for account email change.
  • ACCOUNT_CHANGE_EMAIL_REQUESTED (async): An account email change was requested.
requestEmailChange(
channel: String
newEmail: String!
password: String!
redirectUrl: String!
): RequestEmailChange

Arguments

requestEmailChange.channel ● String scalar

Slug of a channel which will be used to notify users. Optional when only one channel exists.

requestEmailChange.newEmail ● String! non-null scalar

New user email.

requestEmailChange.password ● String! non-null scalar

User password.

requestEmailChange.redirectUrl ● String! non-null scalar

URL of a view where users should be redirected to update the email address. URL in RFC 1808 format.

Type

RequestEmailChange object

Request email change of the logged in user.

Requires AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • NOTIFY_USER (async): A notification for account email change.
  • ACCOUNT_CHANGE_EMAIL_REQUESTED (async): An account email change was requested.

Was this page helpful?