Actions35
- Accounts Actions
- Domains Actions
- AccountDomains Actions
- AggregateReports Actions
- ForensicReports Actions
- MTASTSReports Actions
- PostmasterAccountRecords Actions
- AccountMembers Actions
Domains → Generate a DMARC record
AI-generatedSummary
Generate a DMARC DNS record for a specified domain within an account, optionally publishing it to hosted DMARC if enabled.
Inputs
- account_id (required) — The account identifier for the domain's account.
- id (required) — The domain identifier for which to generate the DMARC record.
- p (required) — The DMARC policy to apply: none (monitor), quarantine (spam folder), or reject (block).
- additionalFields — Optional additional DMARC record parameters including subdomain policy, percentage policy application, DKIM/SPF alignment, forensic options, extra report email addresses, DMARCbis options, and whether to publish the record.
Output shape
a single record representing the generated DMARC record and response from the API
The response includes the generated DMARC record details; if 'publish' is set true and hosted DMARC is enabled, the record is also published. Debug information can be included if enabled.