v51

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-01131107332.8 KB
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

configstring required
ruleType'VALIDITY' | 'COMPATIBILITY' | 'INTEGRITY'

Example request

{
  "ruleType": "VALIDITY",
  "config": "FULL"
}

Response

The global rule was added.