> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/graphql-api/api-reference/mutations/destroy-discount-code.md).

# destroyDiscountCode

### Arguments

| Argument                                                                                               | Description                        |
| ------------------------------------------------------------------------------------------------------ | ---------------------------------- |
| input ([DestroyDiscountCodeInput](/graphql-api/api-reference/objects/destroy-discount-code-input.md)!) | Parameters for DestroyDiscountCode |

### DestroyDiscountCodeInput Arguments

| Argument                                             | Description                            |
| ---------------------------------------------------- | -------------------------------------- |
| id ([ID](/graphql-api/api-reference/objects/id.md)!) | The ID of the discount code to destroy |

### Return fields

#### discountCode ([DiscountCode](/graphql-api/api-reference/objects/discount-code.md))

#### errors (\[[ModelValidationError](/graphql-api/api-reference/objects/model-validation-error.md)!]!)
