cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Mail → Set the server's default DMARC record

AI-generated

Summary

Set or remove the server's default DMARC record to define a policy for domain email authentication.

Inputs

  • Record — The DMARC record to set as the server default. Must start with v=DMARC1; and include a policy directive (p=none, p=quarantine, or p=reject). Pass an empty string to remove any existing custom default DMARC record.

Output shape

a JSON object containing the API response indicating success or failure of setting the default DMARC record

The response includes WHM API details about the updated record or error. No pagination applies.

Links

Discussion