• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved REST API: how to generate auto-login links for reseller/customer

mjauvin

New Pleskian
Hello, I have been able to call the login cli command to generate an auto-login link for any user from the command line, but cannot find how to achieve this using the REST API.

The only method I was able to use from the REST API is the "admin --get-login-link" but this only works for the admin, not for other users.

# curl -k -i -u admin:*** -H "Content-Type: application/json" -H "Accept: application/json" https://<server-ip>:8443/api/v2/cli/admin/call -XPOST -d '{"params":["--get-login-link"]}'

{
"code": 0,
"stdout": "https:<server-ip>/login?secret=NMlQD3cw0NIvP1ZAYE3xGZs4Vktb1NKhGps5abU0o_T6e4Vh",
"stderr": ""
}

Anyone has insight on how to do this without using the XML API ?
 
Back
Top