This function removes the DMARC record for domains.
uapi --output=jsonpretty \ --user=username \ EmailAuth \ remove_dmarc \ domain='example.com'
{- "apiversion": 3,
- "func": "remove_dmarc",
- "module": "EmailAuth",
- "result": {
- "data": [
- {
- "domain": "example.com",
- "msg": "[REMOVE:TXT@_dmarc.example.com:v=DMARC1; p=reject;]",
- "status": 1
}
], - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}