Skip to main content
Version: 3.x

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

DEPRECATED

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

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

AccountDelete.user ● User object

Returned by

accountDelete mutation


Was this page helpful?