I am trying to update a macOS System Extension policy using the Hexnode API, but the request keeps failing with validation errors and sometimes returns a 500 error. The same configuration works fine when applied from the Hexnode console, so I suspect something is off with my API payload.
Below is the exact command I am using for testing:
|
1 |
curl -H "Authorization: <API_TOKEN>" -H "Content-Type: application/json" -d '{"systemextension":{"allow_system_user_overrides":false,"allowed_system_teamids":"ABCDE12345"}}' https://<your_subdomain>.hexnodemdm.com/api/v1/policies/<policy_id>/ -X PUT |
Could someone confirm if the JSON structure or format is incorrect for System Extension policies?