post https://api.cakemail.dev/users/reset-password-confirm
Change a user password if the reset password token is valid for that user.
Using the SDK
from cakemail.models import ResetPasswordConfirm
api.user.reset_password_confirm(
ResetPasswordConfirm(
token='<confirmation token>',
password='<new user password>'
)
)
<?php
$api->user->resetPasswordConfirm([
'reset_password_confirm' => new \Cakemail\Lib\Model\ResetPasswordConfirm([
'token' => '<confirmation token>',
'password' => '<new user password>'
])
]);