Hi,
Does Cpanel provide APIs to add "Addon domain" to my account via a script ..
Regards
Abhishek
Hi,
Does Cpanel provide APIs to add "Addon domain" to my account via a script ..
Regards
Abhishek
Yes, you would use a combination of our XML-API with API2 to handle this. You will need at least reseller access to the server to call these APIs.
You can find the API2 code that cPanel's x3 interface uses on line 15* of /usr/local/cpanel/base/frontend/x3/addon/doadddomain.html
Documentation on calling an API2 function from the XML-API can be found at:
http://www.cpanel.net/plugins/xmlapi/cpanel.html
If you need assistance with this, please feel welcome to drop an email to sales@cpanel.net so we can assist.
* Exact line numbers are subject to change without notice.