curl --location --request POST 'https://barrack.ai/api/firewalls//rules/add/' \
--header 'Content-Type: application/json' \
--data-raw '{
"direction": "ingress",
"protocol": "tcp",
"ethertype": "IPv4",
"remote_ip_prefix": "string",
"port_range_min": 1,
"port_range_max": 1
}'{
"success": true,
"message": "Firewall rule added successfully",
"firewall_rule": {
"id": "rule-789",
"direction": "ingress",
"protocol": "tcp",
"ethertype": "IPv4",
"remote_ip_prefix": "192.168.1.0/24",
"port_range_min": 8080,
"port_range_max": 8080
},
"tier": "legacy",
"request_id": "k9l0m1n2"
}