Like web3.personal.lockAccount() and web3.personal.newAccount() is there any method available or any other API's exist to update account passphrase over RPC?

1 Answer 1


No unfortunately.

You can see the range of commands currently offered in the web3.js personal API in web3.js/lib/web3/methods/personal.js, and this does not include any methods for updating passwords.

The JSON RPC does not include any methods for updating your password.

Even using the geth command, you can only update your account password interactively. From Managing your accounts - Updating an existing account:

Since only one password can be given, only format update can be performed, changing your password is only possible interactively.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.