Update current user's public contact information

This function sets an account's public contact information.

Authorizations:
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

Response Schema: application/json
object

Request samples

whmapi1 --output=jsonpretty \
  set_public_contact

Response samples

Content type
application/json
{
  • "metadata": {
    • "command": "set_public_contact",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}