v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Firewall Rules

Update a firewall rule

Only properties present in the request will be updated

patch/waap/v1/domains/{domain_id}/firewall-rules/{rule_id}

Path parameters

domain_idinteger required

The domain ID

The domain ID

rule_idinteger required

The firewall rule ID

The firewall rule ID

Request body

namestring nullable

The name assigned to the rule

descriptionstring nullable

The description assigned to the rule

enabledboolean nullable

Whether or not the rule is enabled

Example request

{
  "name": "Block foobar bot",
  "action": {
    "block": {
      "action_duration": "12h"
    }
  }
}

Response

Successful Response