> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/users/llms.txt)
> Source: https://docs.saleor.io/api-reference/users/mutations/account-delete

# accountDelete Mutation

Remove user account.

Requires the AUTHENTICATED\_USER permission.

Triggers the following webhook events:

-   ACCOUNT\_DELETED (async): Account was deleted.

```graphql
accountDelete(
  token: String!
): AccountDelete
```

Details

```graphql
type AccountDelete {
  accountErrors: [AccountError!]! @deprecated
  errors: [AccountError!]!
  user: User
}
```

<a id="arguments"></a>

### Arguments

<a id="token"></a>

#### [`token`](#token) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

A one-time token required to remove account. Sent by email using AccountRequestDeletion mutation.

<a id="type"></a>

### Type

<a id="accountdelete"></a>

#### [`AccountDelete`](/api-reference/users/objects/account-delete.md)

Remove user account.

Requires the AUTHENTICATED\_USER permission.

Triggers the following webhook events:

-   ACCOUNT\_DELETED (async): Account was deleted.
