Firewall Rules
Retrieve account's firewall rules across all domains
Returns all firewall rules across all domains belonging to the authenticated account. Supports filtering, ordering, and pagination.
get/waap/v2/firewall-rules
Query parameters
ordering'id' | 'name' | 'description' | 'enabled' | 'action' | '-id' | '-name' | '-description' | '-enabled' | '-action' nullable
Order results by field (prefix with - for descending)
Order results by field (prefix with - for descending)
limitinteger
Number of items to return
Number of items to return
offsetinteger
Number of items to skip
Number of items to skip
namestring
Filter rules by name (supports wildcards)
Example:Block by specific IP rule.
Filter rules by name (supports wildcards)
descriptionstring
Filter rules by description (supports wildcards)
Example:Blocks all requests from a specific IP address.
Filter rules by description (supports wildcards)
action'allow' | 'block'
Filter by action type
enabledboolean
Filter by enabled status
Example:true
Filter by enabled status
domain_idsinteger[]
Filter by domain IDs (can specify multiple)
Filter by domain IDs (can specify multiple)
[ 123, 456 ]
Response
Successful Response
Example response
{
"results": [
{
"name": "Block foobar bot",
"action": {
"block": {
"action_duration": "12h"
}
}
}
]
}