latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Domain Information

Return domain owner

This function lists the owner of a domain.

get/getdomainowner

Query parameters

domainstring domain required
Example:example.com

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

Response

HTTP Request was successful.

Example response

{
  "data": {
    "user": "username"
  },
  "metadata": {
    "command": "getdomainowner",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}