approvalRuleDelete

Delete an approval rule. The approvalRuleDelete mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: security:write

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
  }
}

ArgumentsLink to Arguments section

{
  "id": "456123"
}
Name Type Description
id ID  

ResponseLink to Response section

Name Type Description
approvalRule ApprovalRule  
errors String