patch https://api.cakemail.dev/brands/default/domains/default
Change the Tracking and Bounce domains.
Using the SDK
from cakemail.models import PatchDomains, Domains
api.domain.update(
PatchDomains(
Domains(
bounce='<bounce domain URL>',
tracking='<tracking domain URL>'
)
)
)
<?php
$api->domain->update([
'patch_domains' => new \Cakemail\Lib\Model\PatchDomains([
'domains' => new \Cakemail\Lib\Model\Domains([
'bounce' => '<bounce domain URL>',
'tracking' => '<tracking domain URL>'
])
])
]);