Enable domain's DKIM records

This function enables DomainKeys Identified Mail (DKIM) records on the DNS server for one or more domains.

SecurityBasicAuth
Request
query Parameters
domain
required
string

The domain for which to enable DKIM records on the DNS server.

Note:

To enable multiple domain DKIM records, duplicate the parameter name. For example, use the domain=example-1.com, domain=example-2.com, and domain=example-3.com parameters.

Examples:
domain=domain=example-1.com domain=example-2.com domain=example-3.com
domain=example.com
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/enable_dkim
Request samples
whmapi1 --output=jsonpretty \
  enable_dkim \
  domain='example.com'
Response samples
application/json
{
  • "data": {
    • "payload": [
      • {
        • "domain": "example.com",
        • "msg": "Installed Keys",
        • "status": 1
        }
      ]
    },
  • "metadata": {
    • "command": "enable_dkim",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}