The following request deletes the LU path defined for the host group or iSCSI target of the specified port.
Execution permission
Storage Administrator (Provisioning)
Request line
DELETE base-URL/v1/objects/luns/object-ID
Request message
- Object ID
-
Specify the lunId value obtained by getting information about the LU path. You can also specify the following attributes and connect them with commas:
portId,hostGroupNumber,lun
Attribute
Type
Description
portId
string
(Required) Port number
hostGroupNumber
int
(Required) Host group number (target ID for an iSCSI port)
lun
int
(Required) LUN
Response message
Status codes
For details on the status codes of the request for this operation, see the description on HTTP status codes.
Coding example
curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session d7b673af189048468c5af9bcf3bbbb6f" -X DELETE https://192.0.2.100/ConfigurationManager/v1/objects/luns/CL1-A,1,64