Skip to main content

AccountRequestDeletion

Sends an email with the account removal link for the logged-in user.

Requires AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • NOTIFY_USER (async): A notification for account delete request.
  • ACCOUNT_DELETE_REQUESTED (async): An account delete requested.
type AccountRequestDeletion {
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}

Fields

AccountRequestDeletion.accountErrors ● [AccountError!]! deprecated non-null object users

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

AccountRequestDeletion.errors ● [AccountError!]! non-null object users

Returned By

accountRequestDeletion mutation