Unfortunately, there is no built-in API for this. At the moment, it is best to read the jquery.couch.js code to create an account and use the same code or algorithms to modify the account.
In particular, you need to update the password_sha and salt values ββto change the password. To change the username, you must create a new document and then delete the old document. Just keep the _id and name values ββin sync and everything will be fine.
Jason smith
source share