/
BU
bunny
/
bunny.net CDN Logging
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Subscribe
bunny
bunny.net CDN Logging
post
Create a new custom WAF rule
v1
latest
OpenAPI 3.0.4
2026-07-26
263
457
588.1 KB
WAF
Create a new custom WAF rule
post
/shield/waf/custom-rule
Request body
CreateCustomWafRuleRequest
required
shieldZoneId
integer
ruleName
string
nullable
ruleDescription
string
nullable
ruleConfiguration
CreateCustomWafRuleModel
Response
OK
CustomWafRule
required
id
integer
shieldZoneId
integer
userId
string
nullable
ruleName
string
nullable
ruleDescription
string
nullable
ruleJson
string
nullable
ruleConfiguration
CreateCustomWafRuleModel
errorResponse
GenericRequestResponse
Generic response object containing status information for API operations.