EmailAuth
Email DNS Settings
Apply DMARC records to domains.
This function applies a DMARC record to the specified domain(s)
get/EmailAuth/apply_dmarc
Query parameters
policystring required
The DMARC record to apply to the requested domains.
Note:
Visit the following link for more information about the DMARC record specification: https://dmarc.org/resources/specification/
domainstring domain
The domain for which to apply the DMARC record.
Note:
To enable multiple domain DMARC records, duplicate or increment the parameter. For example, to enable DMARC records for three domains, perform either of the following actions:
- Use the domain parameter three times.
- Use the domain, domain-1, and domain-2 parameters.
If you do not include this argument, the system applies the DMARC record to all the user's domains.
You cannot use this function to edit temporary domains' DMARC records.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "apply_dmarc",
"module": "EmailAuth",
"result": {
"data": [
{
"domain": "example.com",
"msg": "[ADD:TXT@_dmarc.example.com:v=DMARC1; p=reject;]",
"status": 1
}
],
"status": 1
}
}