Skip to main content

AccountDelete

Remove user account.

Requires AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • ACCOUNT_DELETED (async): Account was deleted.
type AccountDelete {
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
user: User
}

Fields

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

DEPRECATED

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

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

AccountDelete.user ● User object users

Returned By

accountDelete mutation