Home » Kerio User Forums » Kerio Control » Enable and disable Traffic Rule using API

Messages: 1
Karma: 0
Send a private message to this user

I am using the Kerio Control API to write a custom application that will enable or disable a specific Traffic Rule based on name. I have working code that queries the traffic rules, but I'm not sure how to construct the json command for the 'TrafficRule::set' in order to change a single traffic rule. Can someone please provide a sample json command to either disable or enable a specific traffic rule?

Thanks in advance.
Previous Topic: Wake on Lan through Kerio 9.2.7 build 2921
Next Topic: Site portal.eaeunion.org
Goto Forum:

Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Fri Jan 18 07:11:55 CET 2019

Total time taken to generate the page: 0.73081 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.