Updates settings for a specific domain.

Hosted Services: Enable hosted DMARC or MTA-STS to have DNS records managed by our system. When enabled, the response includes CNAME records you must add to your DNS.

  • hosted_dmarc: Enable hosted DMARC (requires paid plan)
  • hosted_mta_sts: Enable hosted MTA-STS (requires paid plan and mta_sts_report enabled)

After adding the CNAME records, use the verify endpoints to check propagation.

Supported Formats

JSON

Errors

Code Description
401 Unauthorized
403 Forbidden
404 Not Found
500 Server crashed for some reason

Params

Param name Description
domain
required

Validations:

  • Must be a Hash

domain[rua_report]
optional

Receives RUA Report against your domain

Validations:

  • Must be one of: true, false, true, false.

domain[ruf_report]
optional

Receives RUF Report against your domain

Validations:

  • Must be one of: true, false, true, false.

domain[mta_sts_report]
optional

Receives MTA-STS Report against your domain

Validations:

  • Must be one of: true, false, true, false.

domain[hosted_dmarc]
optional

Enable hosted DMARC - DNS records managed by our system (requires paid plan)

Validations:

  • Must be one of: true, false, true, false.

domain[hosted_mta_sts]
optional

Enable hosted MTA-STS - DNS records managed by our system (requires paid plan and mta_sts_report)

Validations:

  • Must be one of: true, false, true, false.