You cannot update SDDC Manager passwords through the SDDC Manager Dashboard or by using cURL API requests. Instead, you will need to SSH into the SDDC Manager VM and make the changes there.
The process for updating SDDC Manager passwords varies, depending on which account you are updating.