This function deletes a DNS zone.
Important:
/var/cpanel/users/USER file, where USER represents the domain's owner./etc/vdomainaliases/DOMAIN directory, where DOMAIN represents the new zone's domain./etc/vfilters/DOMAIN directory, where DOMAIN represents the new zone's domain.Important:
When you disable the DNS role, the system disables this function.
NOTE:
You cannot use this function to delete temporary domains.
HTTP Request was successful.
| object | 
whmapi1 --output=jsonpretty \ killdns \ domain='example.com'
{- "metadata": {- "command": "killdns",
- "output": {- "raw": "example.com => deleted from example."
 },
- "reason": "Zones Removed",
- "result": 1,
- "version": 1
 }
}