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
Request
- Base URLhttps://cpanel-server.tld:2083/execute
- AuthHTTP basic
Response
HTTP Request was successful.
Example response
{
"data": [
{
"docroot": "/home/username/public_html",
"domain": "example.com"
}
],
"status": 1
}Changes
No recorded changes to this operation across all 5 revisions of this API.