Disable domain's DKIM records

This function removes the 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 remove DKIM records on the DNS server.

Note:

To remove 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/disable_dkim
Request samples
whmapi1 --output=jsonpretty \
  disable_dkim \
  domain='example.com'
Response samples
application/json
{
  • "data": {
    • "payload": [
      • {
        • "domain": "example.com",
        • "msg": "[REMOVE:TXT@default._domainkey:v=DKIM1; k=rsa; p=MIGfMAOGCSqGSIb3DQEBAQUAA4GNADCBiLMNOpQDw5nw4NP1RsWXlfmiMzByDfOT16QCZO/xJtrPZKskZF8/sU0zWGTqKUOErlyJfoJzMDUv3/zzjGswc2nEmYqxxoQZaBkN4QaS6MvJQxysAr+sK8C248/r9zMperQdhJedUVejtpFQHJwgqpHy1tQMxY37L7sQjdxmQ5WnQ1acXiwIDAQAB;]",
        • "status": 1
        }
      ]
    },
  • "metadata": {
    • "command": "disable_dkim",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}