Hi,
for Restful API feature business subscription is needed, more then $100/mon. For private use to much.
Are you sure there is no possibility to control the policies via opnsense api ? I was able to create a new policy via:
But, could also be just a bug.
Also the endpoint "https://<ip>/api/zenarmor/policy/set" reacts, but says "{"status":403,"message":"Forbidden"}". Maybe there is a hidden, non documented feature ?
Br,
Marco
for Restful API feature business subscription is needed, more then $100/mon. For private use to much.
Are you sure there is no possibility to control the policies via opnsense api ? I was able to create a new policy via:
Code Select
curl -sk -X POST -u "$key":"$secret" https://<ip>/api/zenarmor/policy \
-H "Content-Type: application/json" \
-d '{
"isActive": "false",
"policy_id": "1727212787"
}'
But, could also be just a bug.
Also the endpoint "https://<ip>/api/zenarmor/policy/set" reacts, but says "{"status":403,"message":"Forbidden"}". Maybe there is a hidden, non documented feature ?
Br,
Marco