"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://<storage system>:8080/api/v1/vluns/<volume name>,<lun>, <host
name>[,<port>][?<option>]
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
DescriptionIgnored ValuesURI Parameter*
Name of the volume to be exported.None (required)<volume name>
LUN.None (required)<lun>
Name of the host which the volume is exported.
For VLUN of port type, the value is empty.
None (required if volume is exported to host, or
to both host and port)
<host name>
Specifies the system port of the VLUN export. It
includes the system node number, PCI bus slot
None (required if volume is exported to port, or
to both host and port)
<port>
number, and card port number on the FC card
in the format:
<node>:<slot>:<port>
Can be replaced with a Boolean value:None<option>
• 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