Skip to main content
Question

Issue Remote Lock Command via Script

  • October 20, 2015
  • 1 reply
  • 1 view

Forum|alt.badge.img+5

We are looking into if it's possible to have a mac get remotely locked at the end of imaging. This way the lock code needs to be entered before the computer can be used. Anyone have any idea if there is a way to issue a remote lock command via a script? Or even via the JSS API?

thanks!

1 reply

Forum|alt.badge.img+11
  • Contributor
  • 286 replies
  • October 21, 2015

I believe it is possible via the API

Look at doing a POST on /computercommands/command/{command} command would be DeviceLock.
See screenshot.

You can also see your API options by going to your JSS and adding /api to end of it.


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