patch https://api.cakemail.dev/brands/default/senders/
Using the SDK
from cakemail.models import UpdateSender
sender = api.sender.update(
sender_id='<sender ID>',
update_sender=UpdateSender(name='<new sender name>')
)
<?php
$sender = $api->sender->update([
'sender_id' => '<sender ID>',
'update_sender' => new \Cakemail\Lib\Model\UpdateSender([
'name' => '<new sender name>'
])
]);