Change domains

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>'
        ])
    ])
]);
Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!