HP OneView REST API Reference

authz
authz.html[10/17/2013 10:36:01 AM]
"debug-logs":["Read","Create","Delete","Update"]
}
}
URI: /rest/authz/validator
Method API
POST Checks if a user has permissions on a specific category and action.
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
CategoryAction Required The value of the category and action [required]
Response Description
boolean Returns whether user has permission on the
specific category and
action
"true": If user is authorized for the
specific category and
action
Response Codes
REST API Response Codes
Examples
REQUEST-TYPE: POST
URI: https://{appl}/rest/authz/validator
Example:
Checks whether user has permissions on category
"appliance" and action "create"
https://example.net/rest/authz/validator
{
"categoryDto":"appliance",
"actionDto":"Create"
}
Action
description: Encapsulates the action name and description details
type: object
Properties
actionName:
description: The name of the action