Create a waf-rule
POST /waf-rules
POST
/waf-rules
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
data
object
name
required
string
description
string
rule_type
string
rule_config
required
Provider-agnostic rule configuration. Shape depends on rule_type: rate_limit={requests_per_minute,action}, ip_block={ip_addresses[]}, geo_block={countries[],action}, header_check={header,required,pattern}.
provider
string
provider_rule_id
Provider-side rule/resource identifier returned after sync.
string
enabled
boolean
priority
integer
last_synced_at
string format: date-time
sync_status
string
Responses
Section titled “ Responses ”Created
object
data
object
name
required
string
description
string
rule_type
string
rule_config
required
Provider-agnostic rule configuration. Shape depends on rule_type: rate_limit={requests_per_minute,action}, ip_block={ip_addresses[]}, geo_block={countries[],action}, header_check={header,required,pattern}.
provider
string
provider_rule_id
Provider-side rule/resource identifier returned after sync.
string
enabled
boolean
priority
integer
last_synced_at
string format: date-time
sync_status
string
organisation
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
Validation error
Missing or invalid authentication
Not authorized (tenant scope or capability)