Create WHM root session from command line

If you do not know the server root password but you have access to the server backend using SSH key as the root user, then you can always launch temporary root WHM instance from the CLI with :

whmapi1 create_user_session user=root service=whostmgrd locale=en

It will generate a WHM URL and you can copy/paste it on a new web-browser tab to get in.