PATCH
/domains/{domain_id}Update an existing domainParameters
domain_idstringpathrequiredThe ID of the domain.
Request body
application/json
objectUpdateDomainOptions
capabilitiesobjectConfigure the domain capabilities for sending and receiving emails. At least one capability must be enabled.
Show child attributes
receivingstringEnable or disable receiving emails to this domain.
sendingstringEnable or disable sending emails from this domain.
click_trackingbooleanTrack clicks within the body of each HTML email.
open_trackingbooleanTrack the open rate of each email.
tlsstringenforced | opportunistic.
tracking_subdomainstringThe subdomain to use for click and open tracking.
{
"capabilities": {
"receiving": "disabled",
"sending": "disabled"
},
"click_tracking": true,
"open_tracking": true,
"tls": "opportunistic",
"tracking_subdomain": "string"
}Responses
objectUpdateDomainResponseSuccess
idstringThe ID of the updated domain.
objectstringThe object type representing the updated domain.
{
"id": "d91cd9bd-1176-453e-8fc1-35364d380206",
"object": "domain"
}