client_update - locked has no effect

Discussion in 'Developers' Forum' started by WHO, Apr 23, 2020.

  1. WHO

    WHO Member HowtoForge Supporter

    Locking a client by api has no effect on the webs. In the GUI the checkbox "Gesperrt (deaktiviert alle Webs, etc.)" is checked but website stays online. The datalog shows the client update but nothing happens. When doing the lock (uncheck/check) with GUI it works.

    (Debian Stretch) ISPConfig 3.1.15p3
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Locking a client trough API is not possible, the API does not has the lock functionality implemented yet.
     
  3. WHO

    WHO Member HowtoForge Supporter

    is there a workaround by api? Setting the website to active = n has also no effect.
    Or will this functionality be implemented in the next release?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    What this option is doing in the interface is that it basically loops trough the assets that the client owns and disables them. so you can emulate that in the API by selecting his websites, mail accounts etc. and set them to inactive.
     

Share This Page