Return virtual host names for domains

This function lists virtual host names for each domain.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/WebVhosts/list_domains
Request samples
uapi --output=jsonpretty \
  --user=username \
  WebVhosts \
  list_domains
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "list_domains",
  • "module": "WebVhosts",
  • "result": {
    • "data": [
      • {
        • "domain": "example.com",
        • "proxy_subdomains": [
          • "cpanel",
          • "webmail",
          • "autodiscover",
          • "whm",
          • "webdisk"
          ],
        • "vhost_is_ssl": 1,
        • "vhost_name": "hostname.example.com"
        }
      ],
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}