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

# voucherDelete Mutation

Deletes a voucher.

Requires the MANAGE\_DISCOUNTS permission.

Triggers the following webhook events:

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

```graphql
voucherDelete(
  id: ID!
): VoucherDelete
```

Details

```graphql
type VoucherDelete {
  discountErrors: [DiscountError!]! @deprecated
  errors: [DiscountError!]!
  voucher: Voucher
}
```

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

### Arguments

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

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

ID of a voucher to delete.

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

### Type

<a id="voucherdelete"></a>

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

Deletes a voucher.

Requires the MANAGE\_DISCOUNTS permission.

Triggers the following webhook events:

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