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

# accountRequestDeletion Mutation

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

Requires the AUTHENTICATED\_USER permission.

Triggers the following webhook events:

-   NOTIFY\_USER (async): A notification for account delete request.
-   ACCOUNT\_DELETE\_REQUESTED (async): An account delete requested.

```graphql
accountRequestDeletion(
  channel: String
  redirectUrl: String!
): AccountRequestDeletion
```

Details

```graphql
type AccountRequestDeletion {
  accountErrors: [AccountError!]! @deprecated
  errors: [AccountError!]!
}
```

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

### Arguments

<a id="channel"></a>

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

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

<a id="redirect-url"></a>

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

URL of a view where users should be redirected to delete their account. URL in RFC 1808 format.

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

### Type

<a id="accountrequestdeletion"></a>

#### [`AccountRequestDeletion`](/api-reference/users/objects/account-request-deletion.md)

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

Requires the AUTHENTICATED\_USER permission.

Triggers the following webhook events:

-   NOTIFY\_USER (async): A notification for account delete request.
-   ACCOUNT\_DELETE\_REQUESTED (async): An account delete requested.
