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

# customerBulkDelete Mutation

Deletes customers.

Requires the MANAGE\_USERS permission.

Triggers the following webhook events:

-   CUSTOMER\_DELETED (async): A customer account was deleted.

```graphql
customerBulkDelete(
  ids: [ID!]!
): CustomerBulkDelete
```

Details

```graphql
type CustomerBulkDelete {
  count: Int!
  accountErrors: [AccountError!]! @deprecated
  errors: [AccountError!]!
}
```

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

### Arguments

<a id="ids"></a>

#### [`ids`](#ids) ● [`[ID!]!`](/api-reference/miscellaneous/scalars/id.md)

List of user IDs to delete.

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

### Type

<a id="customerbulkdelete"></a>

#### [`CustomerBulkDelete`](/api-reference/users/objects/customer-bulk-delete.md)

Deletes customers.

Requires the MANAGE\_USERS permission.

Triggers the following webhook events:

-   CUSTOMER\_DELETED (async): A customer account was deleted.
