HP OneView REST API Reference

users
users.html[10/17/2013 10:35:59 AM]
PUT Resets the administrator password. This operation is allowed only by a local user from
kiosk/console.
Request Header Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the
current release, this must be set to "X-API-Version:3"
Request Body Attributes Description
ResetPassword Required
Response Description
UserV2 The administrator user whose password was
changed
Response Codes
REST API Response Codes
Examples
The following example resets the administrator password.
https://example.net/rest/users/administrator/resetPassword
{
"newPassword":"changeMe123"
}
URI: /rest/users/changePassword
Method API
POST Changes the default administrator's password during first time appliance setup
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the
current release, this must be set to "X-API-Version:3"
Request Body Attributes Description
UserPassword Required User data object containing username, the old
password and the new password
Response Description
UserV2 The user whose password was changed
Response Codes
REST API Response Codes
Examples
POST https://{appl}/rest/users/changePassword
Example:
Changes the default administrator password
https://{app1}/rest/users/changePassword