I found how to do this:
# curl -k -u admin:MyAcc3ss https://<server-host-name>/api/v2/cli/admin/call -XPOST -d '{"params":["--get-login-link", "-user", "myUserName"]}'
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...