I finally figured out how to do this using the api. Here is how, in case this may help someone else.
Set the variables needed.
Then the following command will toggle the enable button. So, assuming it is not checked, this will enable it.
Set the variables needed.
Code Select
key=apikey
secret=apisecret
ztnid=zerotier_network_uuid
Then the following command will toggle the enable button. So, assuming it is not checked, this will enable it.
Code Select
curl -X POST -d "" -k -u "$key":"$secret" http://localhost/api/zerotier/network/toggle//$ztnid