Firewall Rules
Create a firewall rule
post/waap/v1/domains/{domain_id}/firewall-rules
Path parameters
domain_idinteger required
The domain ID
The domain ID
Request body
Example request
{
"name": "Block foobar bot",
"action": {
"block": {
"action_duration": "12h"
}
}
}Response
Successful Response
Example response
{
"name": "Block foobar bot",
"action": {
"block": {
"action_duration": "12h"
}
}
}