curl -sk -u "$key":"$secret" https://<ip>/api/zenarmor/policy
{ "policies": [ { "id": 1727212787, "local_id": 1727212787, "cloud_policyid": "", "name": "Allow_Services", "isCentralized": false, "isActive": true, "isDefault": false, "user": "0", "nodes": [ { "id": "0" } ], "tags": [], "projects": [], "checksum": 1727212787 }, { "id": 0, "local_id": 0, "cloud_policyid": "", "name": "Default", "isCentralized": false, "isActive": true, "isDefault": true, "user": "0", "nodes": [ { "id": "0" } ], "tags": [], "projects": [], "checksum": 0 } ]}
curl -sk -X POST -u "$key":"$secret" https://<ip>/api/zenarmor/policy \-H "Content-Type: application/json" \-d '{ "isActive": "false", "policy_id": "1727212787"}'