How to add domain as parked/alias using cPanel API whmapi1 one line command?

You can add a domain as a parked/alias using the cPanel API whmapi1 in a single command line using the following syntax:

whmapi1 --output=json --user=USERNAME Park::addparkeddomain domain=DOMAINNAME

Replace USERNAME with your cPanel username and DOMAINNAME with the domain name you want to park/alias.… Read the rest