HP OneView REST API Reference

licenses
licenses.html[10/17/2013 10:35:45 AM]
Updated: October 16, 2013 4:15
MDT
API Specifications Create Read Update Delete
/rest/licenses POST GET
Resource Model
License
LicenseSummary
LicenseList
LicenseSummaryList
HP OneView REST API Reference
licenses
The licenses resource provides details about product licenses. Licenses can be added to the appliance and retrieved for
reporting purposes.
URI: /rest/licenses
Method API
POST Adds a license to the appliance. Licenses are added to the appliance via a license key. Supported
key formats are: # <optional comment string> <encrypted key string> "<annotation>" OR #
<optional comment string> <encrypted key string> "<annotation>"_<additional encrypted key
string> The encrypted key string is expected to be a series of character/number blocks separated
by spaces. The annotation includes space separated fields representing a sales order number, a
product number, a product description, and an entitlement order number (EON). The additional
encrypted key string, if present, is expected to be in this format: xxxxx-xxxxx-xxxxx-xxxxx-xxxxx.
Currently only iLO key is supported. Note: An underscore (_) is present in the key format above
before additional key.
Parameter Attributes Description
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
License Required A license key to add.
Response Description
License A license resource - the license key details
Response Codes
REST API Response Codes
Examples
Add a license to the appliance using the following
(example) key:
#HP Product 123