deleteGatingRule

This mutation to delete the gating rule by id.

if the gating rule is not used only we can able to delete the rule.

Sample mutation

mutation deleteGatingRule($ruleId: UUID1!) {
  deleteGatingRule(ruleId: $ruleId)
}

Sample variable

{
  "ruleId": "9638cb9a-c640-4c79-beba-f966782c77af"
}

Sample response

{
  "data": {
    "deleteGatingRule": true
  }
}

Arguments

NameTypeDescription
ruleIdUUIDThe token gating rule id.

Feilds

NameTypeDescription
true or falseBooleanSuccessfully delete the rule it will return true else return respective errors with false status.