This function confirms the validity of a DomainKeys Identified Mail (DKIM) key for one or more domains.
Note:
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ ensure_dkim_keys_exist \ domain='example.com'
{- "data": {
- "payload": [
- {
- "domain": "example.com",
- "msg": "created new key",
- "status": 1
}
]
}, - "metadata": {
- "command": "ensure_dkim_keys_exist",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}