patch https://api.cakemail.dev/accounts/
Using the SDK
from cakemail.models import PatchAccount
sub_account = api.sub_account.update(
account_id=<account ID>,
patch_account=PatchAccount(name='<new sub-account name>')
)
<?php
$subAccount = $api->sub_account->update([
'account_id' => <account ID>,
'patch_account' => new \Cakemail\Lib\Model\PatchAccount([
'name' => '<new sub-account name>'
])
]);