This function confirms the validity of a DomainKeys Identified Mail (DKIM) key for one or more domains.
Notes:
uapi --output=jsonpretty \ --user=username \ EmailAuth \ ensure_dkim_keys_exist \ domain='example.com'
{- "apiversion": 3,
- "func": "ensure_dkim_keys_exist",
- "module": "EmailAuth",
- "result": {
- "data": [
- {
- "domain": "example.com",
- "msg": "created new key",
- "status": 1
}
], - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}