This function retrieves domain data for an addon domain.
Important:
When you disable the Web Server role, the system disables this function.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ convert_addon_fetch_domain_details \ domain='example.com'
{- "data": {
- "docroot": "/home/exampleparent/public_html/example.com",
- "has_dedicated_ip": 0,
- "has_ssl_cert_installed": 0,
- "ip": "192.0.2.0",
- "is_sni_supported": 0,
- "number_of_autoresponders": 0,
- "number_of_domain_forwarders": 1,
- "number_of_email_accounts": 2,
- "number_of_email_forwarders": 1,
- "owner": "username"
}, - "metadata": {
- "command": "convert_addon_fetch_domain_details",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}