Skip to main content
Hitachi Vantara Knowledge

Update management user password

Change the password for a management user. Both the old password and a new password are required to change the password.

HTTP request syntax (URI)
POST <base_URI>/v8/storage/file-devices/management/users/{managementUserObjectId}
Parameters
Name Type Required Values Description
managementUserObjectIdURI_PARAMY stringObject ID of the management user
oldPasswordBODYY stringExisting password for the user.
newPasswordBODYYstringNew password to set for the user.
Return codes
Code Data Description
204 No Data Management users password successfully updated.
400 Error Message Missing or invalid request contents.
403Error MessageOperation forbidden by access level.
404 Error Message Requested resource not found.
500 Error message Error associated with the storage system.

Any HTTP status code other than 204 indicates that the API did not complete successfully.

Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/file-devices/management/users/626f623a3a3a555345523a3a3a303a3a3a4f49445f24232140255f56 -X POST -d '{"oldPassword":"passwd", "newPassword":"passwd-updated"}'
Response example
HTTP/1.1 204 No Content

 

  • Was this article helpful?