Hi,
In the cPanel UI we have the option to create an Addon Domain without creating an FTP account (default option). This means it's possible to add addon domains to a package with a FTP account limit of zero.
But running the cPAPI2 AddonDomain function on the same account fails, requiring a FTP account limit greater than zero.
Is there an extra parameter we can use with cPAPI2 AddonDomain function to bypass the FTP account limit?
In the cPanel UI we have the option to create an Addon Domain without creating an FTP account (default option). This means it's possible to add addon domains to a package with a FTP account limit of zero.
But running the cPAPI2 AddonDomain function on the same account fails, requiring a FTP account limit greater than zero.
Is there an extra parameter we can use with cPAPI2 AddonDomain function to bypass the FTP account limit?
Bash:
cpanelresult:
apiversion: 2
data:
-
reason: You have exceeded the maximum allowed FTP (File Transfer Protocol) accounts.
result: 0
error: You have exceeded the maximum allowed FTP (File Transfer Protocol) accounts.
event:
result: 1
func: addaddondomain
module: AddonDomain