API Call to change server contact?

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,754
315
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
Is there an API call to change the SERVER contact email as found in the basic server settings? Or alternatively, is this stored in a file somewhere we can sed it? I have a bunch of servers I need to updated and pushing out a command would be a lot easier than logging into a bunch of servers WHM...
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
All of that is stored in /etc/wwwacct.conf and it's talked about here: Customize Your Installation | cPanel & WHM Documentation

The contact email can be changed with the API:

Actually most of those Items can be set with API calls

Hostname: https://documentation.cpanel.net/display/DD/WHM+API+1+Functions+-+sethostname
Nameservers: https://documentation.cpanel.net/display/DD/WHM+API+1+Functions+-+update_nameservers_config