ContactInformation
Contact Information
Set contact email address(es)
Changed onUse this function to set an account's contact email address(es).
To unset all contact email addresses, call unset_email_addresses.
get/ContactInformation/set_email_addresses
Request
- Base URLhttps://cpanel-server.tld:2083/execute
- AuthHTTP basic
Query parameters
addressstring[] required
The account’s new contact email addresses.
old_addressstring[] required
The account’s existing contact email addresses.
If this list does not match the account’s current current email address(es), then the request will fail. This control is here to prevent race conditions.
passwordstring password required
Example:q1df%D9<z0ShqdxRP%^
The account’s password.
Response
Request was successful.
Example response
{
"apiversion": 3,
"func": "set_email_addresses",
"module": "ContactInformation",
"result": {
"status": 1
}
}Changes
- breaking
for the
queryrequest parameterpassword, the format changed from no format topassword
- breaking