Category Filter
Edit Policy
Modify an existing policy.
curl
HTTP Request:
Shell Command:
1 |
PUT https://<portal>.hexnodemdm.com/api/v1/policy/{POLICY_ID}/ |
Shell Command:
1 |
curl -H "Authorization: <your API key>" -H "Content-Type: application/json" -d '{ "policyName": "Sales Team Policy","Description":"", "ios":{"password":{"allow_simple":true,"force_pin":true,"forcePIN":false,"max_failed_attempts":-1, "max_grace_period":-1,"max_inactivity":-1,"max_pinage_in_days":"","min_complex_chars":-1,"min_length":-1,"pin_history":"","require_alphanumeric":false},"delete_credentials":[]},"ios_configured":true }' https://<portal>.hexnodemdm.com/api/v1/policy/{POLICY_ID}/ -X PUT |