Retrieve firewall rules
GET /rules
GET
/rules
Returns a list of firewall rules with pagination and filtering options.
Parameters
Query Parameters
page
integer
Page number for pagination
filter
string
Filter string to search for specific rules
limit
integer
Number of rules to return per page
Responses
200
Successful response with firewall rules
object
data
object
limit
integer
rules
Array<object>
object
id
integer
destination
string
action
string
note
string
protocol
integer
source
string
order
integer
disabled
boolean
last_rule_update
Last time rule has been updated by user
string format: date-time
src_port_type
string,
dst_port_type
string
matched_packets
integer
group_id
If this is not a group the group ID will be 0
integer
0 updated_at
string format: date-time
total
integer
page
Current page number
integer
success
boolean