DNS
Domain Management

Delete domain

This function deletes a domain.

Note:

This function does not remove an addon domain's associated subdomain. You must also run this function for the associated subdomain.

get/delete_domain

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

Query parameters

domainstring domain required
Example:example.com

The name of the domain to delete.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "type": "addon",
    "username": "username"
  },
  "metadata": {
    "command": "delete_domain",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.