Skip to main content

CreateBlacklistRuleInput

The input type for creating a BlacklistRule.

input CreateBlacklistRuleInput {
groupCode: ID!
tag: String!
criteria: BlacklistRuleCriteriaInput!
value: BlacklistRuleValueInput!
}

Fields

CreateBlacklistRuleInput.groupCode ● ID! non-null scalar

Group code where the rule will apply.

CreateBlacklistRuleInput.tag ● String! non-null scalar

It is used to identify the rule with a frendly name.

CreateBlacklistRuleInput.criteria ● BlacklistRuleCriteriaInput! non-null input

It is used to define the conditions that the rule will be applied to.

CreateBlacklistRuleInput.value ● BlacklistRuleValueInput! non-null input

It is used to define the codes that will be blacklisted or whitelisted.