Update WHM contact email address

This function updates the contact email address in the wwwacct.conf file. For more information, read our  Installation Guide - Customize Your Installation documentation.

SecurityBasicAuth
Request
query Parameters
contact_email
required
string

The contact email address to add as the wwwacct.conf file's CONTACTEMAIL setting.

Example: contact_email=user@example.com
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/update_contact_email
Request samples
whmapi1 --output=jsonpretty \
  update_contact_email \
  contact_email='user@example.com'
Response samples
application/json
{
  • "metadata": {
    • "command": "update_contact_email",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}