Use this endpoint to create a validation rule with a CEL expression and scopes array. Rules are always created in DRAFT status. Use the activate endpoint to start evaluation.
The type of media of the resource. Must be application/json.
The API Key for authentication. This header is required for all endpoints except health checks.
A unique identifier used to trace and track each request.
Input for creating a new rule.
Human-readable rule name (must be globally unique).
1 - 255CEL expression that must evaluate to boolean.
1 - 5000Action taken when rule expression evaluates to true.
ALLOW, DENY, REVIEW Rule purpose and logic explanation.
1000Scopes that determine which transactions this rule applies to.
100Indicates that the rule was successfully created in DRAFT status.
Validation rule.
Unique identifier for the rule.
Human-readable rule name (globally unique).
255Rule purpose and logic explanation.
1000CEL expression that must evaluate to boolean.
5000Action taken when rule expression evaluates to true.
ALLOW, DENY, REVIEW Scopes that determine which transactions this rule applies to.
Rule lifecycle status.
DRAFT, ACTIVE, INACTIVE, DELETED When the rule was created.
When the rule was last modified.
When rule was last activated (null if never activated).
When rule was last deactivated (null if never deactivated).
When rule was deleted (null if not deleted).