This function sets the server's default DMARC record.
The system uses the default DMARC record when creating new accounts or applying DMARC policies that don't specify a custom record.
Note:
You can pass an empty string to remove the custom default and revert to the built-in default record.
record | string The DMARC record to set as the server default. Note: The record must be a valid DMARC record that starts with Pass an empty string to remove the custom default and revert to the built-in default. Visit the following link for more information about the DMARC record specification: https://dmarc.org/resources/specification/. record=v=DMARC1; p=none; record= |
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ set_default_dmarc_record \ record='v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.com;'
{- "data": {
- "payload": {
- "success": 1
}
}, - "metadata": {
- "command": "set_default_dmarc_record",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}