DomainLookup
Return every domain's document root
This function retrieves the document root for every domain on the cPanel account, including the primary domain, addon domains, parked domains and subdomains.
get/DomainLookup/getdocroots
Response
HTTP Request was successful.
Example response
{
"data": [
{
"docroot": "/home/username/public_html",
"domain": "example.com"
}
],
"status": 1
}