latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

DNS
DNS Security

Remove DNSSEC key

This function removes a DNSSEC security key.

Note:

Only servers that run PowerDNS can use DNSSEC. If you call this function on a server that doesn't use PowerDNS, you will receive an error.

get/remove_zone_key

Query parameters

domainstring required
Example:example.com

The domain for which to remove a security key.

key_idinteger required
Example:1

The security key's ID.

Note:

Use the WHM AP1 fetch_ds_records_for_domains function to locate the domain's security key ID.

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "remove_zone_key",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}