Forum Discussion

alan_babington_'s avatar
alan_babington_
Icon for Nimbostratus rankNimbostratus
Jul 03, 2018

What's the iControl REST API to reset Firewall Rule "Counter" ?

Whats the iControl REST API to reset Firewall Rule "Counter" ?

 

I know you can do it using

 

reset-stats net route-domain myRouteDomain fw-enforced-policy-rules { myFirewallRuleName }

 

but i need to do it form iControl REST API

 

I tried a few things but no joy

 

POST URL

 

Request { "command":"reset-stats", "name":"myFirewallRule" }

 

Response { "code": 400, "message": "\"add\" unknown property", "errorStack": [], "apiError": 26214401 }

 

I also tried

 

POST URL { "command":"reset-stats", "name":"myFirewallRule" }

 

Response { "code": 403, "message": "Operation is not allowed on component /security/firewall/policy.", "errorStack": [], "apiError": 1 }

 

Thanks,

 

Alan

 

No RepliesBe the first to reply