Resellers
Account Settings

Update current user's public contact information

This function sets an account's public contact information.

get/set_public_contact

Request

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

Query parameters

namestring
Example:Bob's Hosting

The public contact name of the reseller. If you do not use this parameter, the system retains the current setting.

urlstring
Example:https://bobshosting.net

The public contact URL. If you do not use this parameter, the system retains the current setting.

Response

HTTP Request was successful.

Example response

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

Changes

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