v1

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

Disable DNSSEC security key

This function deactivates a DNSSEC security key.

Important:

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

get/DNSSEC/deactivate_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": "deactivate_zone_key",
  "module": "DNSSEC",
  "result": {
    "data": {
      "domain": "example.com",
      "error": "Error:  Invalid key_id or domain specified: No such key present for domain.",
      "key_id": "1",
      "success": 1
    },
    "status": 1
  }
}