Misleading documentation for whmapi1 modifyacct
Hi guys,
I didn't find any other place to report that, that's why I'm doing it here.
The documentation for whmap1->modifyacct is misleading, regarding changing the main domain for an account.
Link:
In the doc it says one must use the 'dns=' parameter, but it doesn't work.
The right way to change an account main domain is by providing the 'domain=NEWDOMAIN...' parameter, which seems to work correctly.
-
Hey there! This seems more like an omission than a bad entry for DNS. The DNS field is meant to list the primary entry for the account inside the /var/cpanel/users/dbtest file, and is optional. I did confirm the following will update the domain name of an account properly: whmapi1 modifyacct user=username domain=someotherdomain.com
so I'll be getting that documentation updated shortly.0 -
Hey there! This seems more like an omission than a bad entry for DNS. The DNS field is meant to list the primary entry for the account inside the /var/cpanel/users/dbtest file, and is optional. I did confirm the following will update the domain name of an account properly:
whmapi1 modifyacct user=username domain=someotherdomain.com
so I'll be getting that documentation updated shortly.
Thanks !0 -
Sure thing! Thanks for making me aware of the issue! 0
Please sign in to leave a comment.
Comments
3 comments