Disable domain's DNSSEC key

This function deactivates a domain's 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.

SecurityBasicAuth
Request
query Parameters
domain
required
string

The domain for which to deactivate a security key.

Example: domain=example.com
key_id
required
integer

The security key's ID.

Note:

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

Example: key_id=1
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/deactivate_zone_key
Request samples
whmapi1 --output=jsonpretty \
  deactivate_zone_key \
  domain='example.com' \
  key_id='1'
Response samples
application/json
{
  • "metadata": {
    • "command": "deactivate_zone_key",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}