cPanel API Set Contact Email
Is there a way to set up a domain contact email address / username / password through any of the 3 cPanel api's? I have looked several times, but didn't find what I was looking for.
Thanks,
Puff
-
Hello, Here's the cPanel API 2 function you can use to update the account's contact information: cPanel API 2 Functions - CustInfo::savecontactinfo - Software Development Kit - cPanel Documentation Here's the function you can use to change the password: cPanel API 2 Functions - Passwd::change_password - Software Development Kit - cPanel Documentation It's not possible to change the account username through any cPanel API functions, however you can use the following WHM API 1 function to change the account username if you have root access to the server: WHM API 1 Functions - modifyacct - Software Development Kit - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
1 comment