Repair misconfigured email settings

This function fixes a user's misconfigured email settings. This includes any misconfigured email file and directory ownership and permissions.

SecurityBasicAuth
Request
query Parameters
username
required
string

The cPanel account's username.

Example: username=username
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/normalize_user_email_configuration
Request samples
whmapi1 --output=jsonpretty \
  normalize_user_email_configuration \
  username='username'
Response samples
application/json
{
  • "metadata": {
    • "command": "normalize_user_email_configuration",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}