v1

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

Enable DNSSEC security key

This function activates a DNSSEC security key.

Important:

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

get/DNSSEC/activate_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": "activate_zone_key",
  "module": "DNSSEC",
  "result": {
    "data": {
      "domain": "example.com",
      "key_id": "1",
      "success": 1
    },
    "status": 1
  }
}