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