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

# voucherBulkDelete Mutation

Deletes vouchers.

Requires the MANAGE\_DISCOUNTS permission.

Triggers the following webhook events:

-   VOUCHER\_DELETED (async): A voucher was deleted.

```graphql
voucherBulkDelete(
  ids: [ID!]!
): VoucherBulkDelete
```

Details

```graphql
type VoucherBulkDelete {
  count: Int!
  discountErrors: [DiscountError!]! @deprecated
  errors: [DiscountError!]!
}
```

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

### Arguments

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

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

List of voucher IDs to delete.

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

### Type

<a id="voucherbulkdelete"></a>

#### [`VoucherBulkDelete`](/api-reference/discounts/objects/voucher-bulk-delete.md)

Deletes vouchers.

Requires the MANAGE\_DISCOUNTS permission.

Triggers the following webhook events:

-   VOUCHER\_DELETED (async): A voucher was deleted.
