HP OneView REST API Reference

roles
roles.html[10/17/2013 10:36:01 AM]
current release, this must be set to "X-API-Version:3"
Response Description
RoleNameV2 RoleNameDtoV2 Role name details
Response Codes
REST API Response Codes
Examples
GET https://{appl}/rest/roles/{roleName}
Example:
Gets details for the role name "Read only"
https://localhost/rest/roles/Read only
RoleName
description: The RoleName is a data transfer object to assign/get roles to/from an existing user account. User cannot
modify roles of own account. Role names are case sensitive.
type: object
Properties
roleName: description: Name of the role to be assigned/get to/from the existing user account. Role names are
case sensitive
type: string
searchable: true
required: true
RoleNameList
description: The RoleNameCollection is a data transfer object which is a collection of RoleName objects used to
assign/get multiple roles to/from an existing user.
type: object
Properties
count: description: The actual number of resources returned in the specified page
type: integer
category: description: Resource category used for authorizations and resource type groupings
type: string
nextPageUri: description: URI pointing to the page of resources following the list of resources contained in the
specified collection