v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
DNSSEC
DNS Security

Remove DNSSEC security key

This function removes a DNSSEC security key.

Important:

When you disable the DNS role, the system disables this function.

get/DNSSEC/remove_zone_key

Query parameters

domainstring domain required
Example:example.com

The security key's domain.

key_idinteger required
Example:1

The security key's ID.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "remove_zone_key",
  "module": "DNSSEC",
  "result": {
    "data": {
      "domain": "example.com",
      "key_id": "12",
      "success": 1
    },
    "status": 1
  }
}