How to remove firewall permission programmatically?

Hi,

For testing my app, I'd like to be able to use a utility to remove the user granted incoming connection permission. System Permissions > Security & Privacy > Firewall > Firewall Options....

I use tccutil reset SERVICE [BUNDLE_ID] to reset the Privacy Permissions, and I'm hoping there is a similar utility for the firewall permissions.

Please let me know if there is a way to do this?

How to remove firewall permission programmatically?
 
 
Q