Wp admin change passwd

Hello, I am trying to reset my admin password for a wordpress site, which I have been able to do before with this command. However, it seems it longer works.

ee site update site --passwd

Did something change or do I need to use another command?

Hey @bsraer,

In v4, you can do it with wp-cli with following commands

ee shell example.com
wp user update <username> --user_pass='new_password'

Or in single command:

ee shell example.com --command="wp user update <username> --user_pass='new_password'"

Thank you, this worked.