Skip to main content
Question

Setting a computer to "Managed" via the API

  • July 6, 2018
  • 1 reply
  • 0 views

honestpuck
Forum|alt.badge.img+11

Hey,

OK, I'm using python-jss to retrieve a computer record. I'm then using computer.find to set "general/remote_management/management_password_sha256" to the right SHA password (retrieved from another computer record) and setting "management_username" to a valid name and "managed" to 'true'.

When I try and save back to the JSS I get "Response Code: 409 Response: Conflict. Error: Management password is required"

Anyone got any ideas? The account I'm using for testing has total access I think.

1 reply

honestpuck
Forum|alt.badge.img+11
  • Author
  • Contributor
  • 48 replies
  • July 20, 2018

I figured out the answer after someone gave me a hint. You need to add the XML "management_password" and put the password in plain text in there.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings