v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
EmailAuth
Email DNS Settings

Remove DMARC record from domain(s)

This function removes the DMARC record for domains.

get/EmailAuth/remove_dmarc

Query parameters

domainstring

The domain from which to remove the DMARC record.

Note:

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

To remove multiple domain DMARC records, duplicate the parameter name. For example, use the domain=example.com, domain=example2.com, and domain=example3.com parameters.

You cannot remove DMARC records on temporary domains.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "remove_dmarc",
  "module": "EmailAuth",
  "result": {
    "data": [
      {
        "domain": "example.com",
        "msg": "[REMOVE:TXT@_dmarc.example.com:v=DMARC1; p=reject;]",
        "status": 1
      }
    ],
    "status": 1
  }
}