Update current user's public contact information

This function sets an account's public contact information.

SecurityBasicAuth
Request
query Parameters
name
string

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

Example: name=Bob's Hosting
url
string

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

Example: url=https://bobshosting.net
Responses
200

HTTP Request was successful.

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