Mail
Mail Server Settings

Repair misconfigured email settings

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

get/normalize_user_email_configuration

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

Query parameters

usernamestring required
Example:username

The cPanel account's username.

Response

HTTP Request was successful.

Example response

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

Changes

No recorded changes to this operation across all 5 revisions of this API.