Remove domains' DMARC records.

This function removes the DMARC DNS record from a domain.

SecurityBasicAuth
Request
query Parameters
domain
string

The domain for which to remove the DMARC record.

Note:

If you do not include this argument, the system will remove all DMARC records from all domains.

To remove multiple domain DMARC 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/remove_dmarc
Request samples
whmapi1 --output=jsonpretty \
  remove_dmarc \
  domain='example.com'
Response samples
application/json
{
  • "data": {
    • "payload": [
      • {
        • "domain": "example.com",
        • "msg": "[REMOVE:TXT@_dmarc.exmaple.com:v=DMARC1; p=reject;]",
        • "status": 1
        }
      ]
    },
  • "metadata": {
    • "command": "remove_dmarc",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}