approvalRuleDelete

Graphql fields and variables for the approvalRuleDelete mutation

Delete an approval rule

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
        toDate
        totalQuoteAmount
        totalQuoteAmountEnabled
      }
      errors
  }
}

Arguments

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

id

ID

Response

Name
Type
Description

approvalRule

errors

String

Last updated

Was this helpful?