Domains

Update a domain

Changes a domain's click and open tracking or TLS policy.

patch/domains/{id}

Request

  • Base URL: https://api.mepmail.dev
  • URL: https://api.mepmail.dev/domains/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Request body

click_trackingboolean

Rewrite links to redirect through the tracking subdomain and record email.clicked events. Off by default.

open_trackingboolean

Inject a tracking pixel served from the tracking subdomain and record email.opened events. Off by default.

tracking_subdomainstring nullable

DNS label of the branded tracking host, e.g. "links" for links.<domain>. Setting it adds a Tracking CNAME to records[]; links are tracked through it once that CNAME resolves. Required on MepMail Cloud to turn tracking on. Empty string or null clears it.

tlsunknown
capabilitiesunknown

Response

Domain updated; full object with records

idstring uuid required
namestring required
statusstring required
created_atstring required
regionstring required
open_trackingboolean required
click_trackingboolean required
tracking_subdomainstring nullable required
object'domain' required

Changes

No recorded changes to this operation across all 1 revision of this API.