Mail
Mail DNS Settings

Remove domains' DMARC records.

This function removes the DMARC DNS record from a domain.

Note:

You cannot remove DMARC records from temporary domains.

get/remove_dmarc

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

Query parameters

domainstring

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.

Response

HTTP Request was successful.

Example response

{
  "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
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.