Reply To: New policy with Hexnode API

AvatarAmy Watson

Hi Henry!
The two arguments, “app_management” and “policy_targets”, are indeed optional, which implies that the keys need not be used. Try removing them and executing the command in the following sample data format:

{“name”: “your policy name”,”description”:”test”, “android”:{“restrictions”:{“allow_wifi”:false}}}

Refer the Hexnode MDM API Documentation for more details.

Amy Watson
Hexnode MDM