can we set the exit lockdown mode password via REST and SSL

I see that to exit lockdown mode, one has to enter an Administration password that is created via an Authentication profile, presumably set up on the dashboard. How customizable is this password generation? Specifically, can we set it via REST and SSL, or is it only via the dashboard?
4 years ago
Android
ANSWERS
R
RRMOD@SOTI Silver Contributor
4 years ago (edited 4 years ago)

Hi Masentle,

Thank you for requesting an answer from Support Staff.

Please follow the steps mentioned below to integrate the Mobicontrol with REST API.

Integrate SOTI MobiControl into your enterprise mobility workflow or partner applications using our RESTful web service API. SOTI MobiControl provides an interactive environment where you can experiment with the REST API.

Tip: For a detailed list of the properties that make up a managed device in the SOTI MobiControl REST API response, refer to the SOTI MobiControl REST API Device Properties Spreadsheet.  

To get to your interactive REST API environment:

  1. Log into your SOTI MobiControl console.
  2. In the address bar of the web browser, replace everything after MobiControl/ with api and go to the new web page. For example, change https://soti.sotidemo.com/MobiControl/WebConsole/home/devices 
  3. Replace the above with  https://soti.sotidemo.com/MobiControl/api.

You have entered the interactive environment of the SOTI MobiControl REST API service. Detailed documentation on the available APIs is available directly within the API reference.

Warning: API calls sent from this page are executed against your SOTI MobiControl environment. Exercise extreme caution when executing each API call against a production environment.  
You can deliver any profile payload ( eg Feature control, authentication ) using the following API call under the PROFILES section.      
     
Also, if this post has helped you in solving your inquiry, I would request you to mark the particular comment as "is solution", so others may benefit from this information.
RC
Raymond Chan Diamond Contributor
4 years ago

If you just want to exit/enter lockdown mode, do not mess with the device Administrator Password, as setting a device into administrator mode have much much more impact that turning off the lockdown/kisok-mode.  MANY OTHER deployed policies will also be suspended until the device goes back to the normal USER mode.  Hence,  forcing a device to ADMINISTRATOR mode should be done with care at all time, and exiting back to USER mode should be done a.s.a.p to avoid exposing various device securty loophole(s) while security policies are suspended.

 It is unfortunate that some posts in this forum have spread the wrong information or practices of turning off lockdown/kiosk with device Administrator password, or wrongly attributing the device administrator password as being added merely to support turning off/on of lockdown/kiosk.

There are other legacy/javacript script command dedicated to turning on/off lockdown/kiosk-mode.  Please look up the relevant online documentation for the verison of MobiControl you are using.  After making sure that the right script command works on your devices, you can use MobiControl RESTful API's to send the validated script for acheving what you need.

Alternatively, if your lockdown/kiosk-mode payload is included in a separate profile by itself, you have a simpler option of using the RESTful API's related to profile deployment/revocation to turn on/off lockdown.