DomainLookup
Count the domains that have their own DNS zone
This function counts the cPanel account's base domains: the primary domain, its addon domains and its parked domains.
Note:
The count excludes temporary domains, and matches the number of entries that the DomainLookup::getbasedomains function returns by default.
get/DomainLookup/countbasedomains
Request
- Base URLhttps://cpanel-server.tld:2083/execute
- AuthHTTP basic
Response
HTTP Request was successful.
Example response
{
"data": [
{
"count": 3
}
],
"status": 1
}Changes
No recorded changes to this operation across all 5 revisions of this API.