HP OneView REST API Reference

power-devices
power-devices.html[10/17/2013 10:35:43 AM]
force the add
by adding the force parameter in the request body for the Add.
Request Body
{
"hostname":"power-device.hp.com",
"username":"admin",
"password":"admin",
"force": true
}
URI: /rest/power-devices/schema
Method API
GET Gets a JSON-formatted schema describing the resource.
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
JsonSchema The JSON schema of the resource.
Response Codes
REST API Response Codes
Examples
GET https://{appl}/rest/power-devices/schema
URI: /rest/power-devices/{id}
Method API
DELETE Removes the power delivery device specified by {id} from management asynchronously. When
removing a power delivery device that is part of an iPDU, all power delivery devices discovered
via that iPDU are removed as a group. Any errors from removing management configuration from
the iPDU (such as communications errors) are reported via the task, but will not prevent removal
of the iPDU from management by 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