AP Pro enable/disable WiFi API

Hello,
is there a way to disable/enable broadcasting via an HTTP end point? We are building a system that needs control over whether or not the router is broadcasting. It would be best if the user wasn’t required to leave our interface and open a browser to do this. Our system will not be internet connected, so I don’t think the InControl2 API will work.

Thanks