latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Domain Information

Return current user's additional domains

This function returns a list of addon domains that belong to the current user.

Important: When you disable the Web Server role, the system disables this function.

get/convert_addon_list_addon_domains

Response

HTTP Request was successful.

dataobject

Example response

{
  "data": {
    "example.com": {
      "docroot": "/home/exampleparent/public_html/example.com",
      "domain_type": "addon",
      "ip": "192.0.2.0",
      "owner": "root",
      "subdomain": "example.exampleparent.com"
    }
  },
  "metadata": {
    "command": "convert_addon_list_addon_domains",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}