patch https://api.cakemail.dev/users/
Using the SDK
from cakemail.models import PatchUser
user = api.user.update(
user_id=<user ID>,
patch_user=PatchUser(first_name='<new user first name>')
)
<?php
$user = $api->user->update([
'user_id' => <user ID>,
'patch_user' => new \Cakemail\Lib\Model\PatchUser([
'first_name' => '<new user first name>'
])
]);