CPanel API - Creating Subdomains

2019-08-25 07:03发布

问题:

I'm writing a script so I can create subdomains on my account. I'm following this example:

CPanel API Example

My question: How can I create subdomains? The docs on Cpanel's API don't show this very well.

回答1:

Make sure you are using version 2 of the API. Below is a direct link to the instructions to create subdomains.

https://documentation.cpanel.net/display/SDK/cPanel+API+2+Functions+-+SubDomain%3A%3Aaddsubdomain



标签: cpanel