HP OneView REST API Reference
enclosures
enclosures.html[10/17/2013 10:35:21 AM]
Response Description
Enclosure An enclosure resource
Response Codes
REST API Response Codes
Examples
GET the enclosure with a specific URI.
GET https://{appl}/rest/enclosures/{id}
DELETE Removes an enclosure and its servers and interconnects from management of the appliance.
Parameter Attributes Description
force Optional If set to true, the operation completes even if there are network
connectivity issues or resource errors. The default is false.
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"
Response Description
TaskResourceV2 Returns a TaskResource that can be used to monitor the
progress of the enclosure removal.
Response Codes
REST API Response Codes
Examples
Remove an enclosure and any server and interconnects
within it from the appliance
DELETE https://{appl}/rest/enclosures/{id}
URI: /rest/enclosures/{id}/activeOaSsoUrl
Method API
GET Returns data that can be used to construct a single sign-on URL for an Onboard Administrator
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"
Response Description
SsoUrlData Returns data used to construct an SSO URL.
Response Codes
REST API Response Codes
Examples
The above call will return data that can be used to
construct a single sign-on URL for the currently active