HP 3PAR StoreServ 7200 2-node HP 3PAR Web Service API 1.2 Developer's - Page 72
HTTP Response, Removing a VLUN, VLUN Removal Success
View all HP 3PAR StoreServ 7200 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 72 highlights
"overrideLowerPriority":false } HTTP Response HTTP/1.1 201 Created Date: Mon, 16 Apr 2012 06:44:26 GMT Server: hp3par-wsapi Cache-Control: no-cache Pragma: no-cache Location: /api/v1/vluns/test_vv02,252,mysystem,2:2:4 Removing a VLUN This section describes the HTTP request and response for removing a virtual volume's SCSI LUN export definition from the system. To remove the VLUN definition, use the HTTP DELETE method in the URI: https://:8080/api/v1/vluns/,, [,][?] NOTE: Square brackets ([ ]) indicate that the variable is optional. NOTE: Any user with the Super or Edit role, or any role granted with the vlun_remove right, can perform this operation. Table Table 70 (page 72) shows the URI parameters that are sent in the URI for VLUN removal. Table 70 URI Parameters for VLUN Removal URI Parameter* Ignored Values Description None (required) Name of the volume to be exported. None (required) LUN. None (required if volume is exported to host, or Name of the host which the volume is exported. to both host and port) For VLUN of port type, the value is empty. None (required if volume is exported to port, or Specifies the system port of the VLUN export. It to both host and port) includes the system node number, PCI bus slot number, and card port number on the FC card in the format: :: None Can be replaced with a Boolean value: • noVcn=True • noVcn=False *Must be percent encoded as in RFC 3968 for reserved characters. VLUN Removal Success A successful removal returns the HTTP status code 200 OK, with no message body. VLUN Removal Errors An error state returns one of the errors shown in Table 71 (page 73). For generic API error codes, see Table 5 (page 17). 72 Working with Virtual LUNs