M150:update password

db.updateUser(
...    "readWriteInventoryUser",
...    {
...      roles : [
...        { role: "readWrite", db: "admin" } 
... 
...      ],
...      pwd:"6c%dbe&7dc!ee1#d",   
		 
...    },
...    
... )

This code does not work.Please help

Hi @manisha_deokar, welcome to the community.
Can you please post the error you are getting upon executing this command?

If you have any doubts, please feel free to reach out to us.

Thanks and Regards.
Sourabh Bagrecha,
MongoDB