Global rules
Admin
Create global rule
Adds a rule to the list of globally configured rules.
This operation can fail for the following reasons:
- The rule type is unknown (HTTP error 400)
- The rule already exists (HTTP error 409)
- A server error occurred (HTTP error 500)
post/admin/rules
Request body
Example request
{
"ruleType": "VALIDITY",
"config": "FULL"
}Response
The global rule was added.