Reply To: Hexnode API Post command not working

#12147
Zach GoodmanZach Goodman
Moderator
5 pts

Hi @Birgitta, you can avoid this error by fixing the body content. The ‘policies’ key-value should come before the ‘users’ key-value. This way you’ll be associating the policy to the user which is the proper way to query it. 

Corrected body – 

 
{“policies”:[20],”users”:[2]} 

 
 
Cheers! 
Zach Goodman 
Hexnode UEM

  • This reply was modified 1 month, 1 week ago by Zach GoodmanZach Goodman.