cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

DNS → Enable domain's DNSSEC key

AI-generated

Summary

Activate a security key for a specified domain's DNS zone to enable DNSSEC.

Inputs

  • Domain (required) — The domain for which to activate a DNSSEC security key.
  • Key Id (required) — The numeric ID of the security key to activate; locate this ID using the WHM API's fetch_ds_records_for_domains function.

Output shape

a single response object from the WHM API indicating the success or failure of the DNSSEC key activation request.

The operation sends a request with domain and key ID as query parameters and returns the raw WHM API response. Handle possible API error fields as documented in Node's error validation logic.

Links

Discussion