xmlapi
I cannot find the api function to add a cpanel account to whm. I used this to add a non-cpanel addon domains to another specific cpanel domain but I cannot figure out how to add a new cpanel account to the roor WHM :
$results=print $xmlapi->api2_query('cpanelusernm', "AddonDomain", "addaddondomain", array(newdomain=>$domain, dir=>"public_html/" . domain . ".com", subdomain=>$domain, pass=>"abc123!#") );
-
Hello, The call you want is part of WHM's API, and can be found here: WHM API 1 Functions - createacct - Software Development Kit - cPanel Documentation Thanks, David Nielson cPanel Developer 0
Please sign in to leave a comment.
Comments
1 comment