HP OneView REST API Reference

users
users.html[10/17/2013 10:35:59 AM]
https://{app1}/rest/users
{
"userName" : "testUser",
"enabled" : "true"
}
Example 4: Update user attributes email/phone numbers of
user with proper privileges by supplying only the user name and
any or all of emailAddress, officePhone, mobilePhone fields.
https://{app1}/rest/users
{
"userName":"testUser",
"emailAddress":"",
"officePhone":"303-555-1212",
"mobilePhone":"303-555-1212"
}
Example 5: Update/replace current roles with new roles of
user with proper privileges by supplying only
user name and roles with replaceRoles as true.
https://{app1}/rest/users
{
"userName":"testUser",
"roles":["Read only"],
"replaceRoles":"true"
}
Example 6: Add new roles without replacing existing roles of user
with proper privileges by supplying only the user name and roles with
optional
replaceRoles as false.
https://{app1}/rest/users
{
"userName":"testUser",
"roles":["<insert another role here that may co-exist with existing
roles>"],
"replaceRoles":"false"
}
or
https://{app1}/rest/users
{
"userName":"testUser",
"roles":["<insert another role here that may co-exist with existing
roles>"]
}
URI: /rest/users/administrator/resetPassword
Method API