Description

This function updates the contact email address in the wwwacct.conf file.

 For more information, read our Installation Guide - Customize Your Installation documentation.

Examples 




https://hostname.example.com:2087/cpsess##########/json-api/update_contact_email?contact_email=user%40example.com




whmapi1 update_contact_email contact_email=user%40example.com



   "metadata":{ 
      "reason":"OK",
      "result":1,
      "command":"update_contact_email",
      "version":1
   },
   "data":{ 
   }
}


Parameters

ParameterTypeDescriptionPossible valuesExample
contact_emailstring

Required

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

A valid email address.

user@example.com

Returns

This function only returns metadata.