To change the sync mode in BioStar 2 you should do

PUT  /api/setting/biostar

Body request:

{

    BioStar: {

        user_sync_method: "mode"

    }

}

 

Where “mode” can be:

  • “0” for “deactivate or not to use automatic sync”
  • “1” for “All Devices
  • “2” for “All Devices including user update from Device”
  • “3” for “Specific Devices (Only devices that belong to the access group)”


As in BioStar 2 client GUI:


Please note that although the mode is an int, you should write the int as a string