Changing stored passwords using restman

Document ID : KB000103691
Last Modified Date : 12/07/2018
Show Technical Document Details
How can I change the value of the stored passwords using restman?
Get the password's ID: 
list <connection properties> -t SECURE_PASSWORD 

Then get the resource: 
restman <connection properties> -m GET --p /1.0/passwords/<id> --response password.xml --unwrapItem 

Edit to add in the new password: 
add password element after the name element <l7:Password>newPassword</l7:Password> 

Update the resource:
restman <connection properties> -m PUT --p /1.0/passwords/<id> --request password.xml