# approvalRuleDelete

Delete an approval rule

**Scope required:** security:write

```graphql
mutation approvalRuleDelete ($id: ID!) {
  approvalRuleDelete (id: $id) {
      approvalRule {
        active
        anyDiscount
        anyDiscountEnabled
        approverId
        billingPeriodEnabled
        fromDate
        id
        isRampEnabled
        name
        netPaymentDays
        netPaymentDaysEnabled
        overallQuoteDiscount
        overallQuoteDiscountEnabled
        planId
        planIdEnabled
        productId
        productIdEnabled
        requireUnanimousApproval
        toDate
        totalQuoteAmount
        totalQuoteAmountEnabled
        warrenId
      }
      errors
  }
}
```

## Arguments

```json
{
  "id": "456123"
}
```

| Name | Type | Description |
| ---- | ---- | ----------- |
| id   | ID   |             |

## Response

| Name         | Type                                                                              | Description |
| ------------ | --------------------------------------------------------------------------------- | ----------- |
| approvalRule | [ApprovalRule](https://docs.bunny.com/developer/api-reference/types/approvalrule) |             |
| errors       | String                                                                            |             |
