HP OneView REST API Reference

racks
racks.html[10/17/2013 10:35:42 AM]
DELETE Deletes the set of racks according to the specified parameters. A filter is required to identify the
set of resources to be deleted. The actual deletion will proceed asynchronously. Use the returned
task resource to track the completion and any errors that may occur.
Parameter Attributes Description
filter Experimental This parameter is experimental for this release: While generally
functional when used in simple cases, restrictions might be noted in
the implementation description.
A general filter/query string that narrows the list of resources
returned by a multi-resource GET (read) request and DELETE
(delete) request. The default is no filter (all resources are returned).
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 A task resource used to track the progress of the
delete operation.
Response Codes
REST API Response Codes
Examples
Each rack resource has a uri representation in the form of
https://{appl}/rest/racks.
Deletes all rack resources with names beginning with 'XYZ':
https://{appl}/rest/racks?filter="name matches 'XYZ%25'"
Deletes all rack resources:
https://{appl}/rest/racks?filter="id matches '%25'"
URI: /rest/racks/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