Return domain owner

This function lists the owner of a domain.

Authorizations:
query Parameters
domain
required
string <domain>

A domain on the system that is owned by the user calling this function.

Example: domain=example.com

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  getdomainowner \
  domain='example.com'

Response samples

Content type
application/json
{
  • "data": {
    • "user": "username"
    },
  • "metadata": {
    • "command": "getdomainowner",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}