The following request deletes path information from a specific server.
Execution permission
Storage Administrator (Provisioning)
Request line
DELETE base-URL/simple/v1/objects/servers/object-ID/paths/object-ID
Request message
- Object ID
-
Combines multiple object IDs that are specified.
Specify the serverId value and the id value, obtained by using the API function for getting the path information of the server, in the following format.
serverId/paths/id
For the id value, you can specify whether to obtain the information in a format that is a combination of the hbaWwn (or iscsiName) value and the portId value.
- To specify the WWN of the HBA:
serverId/paths/hbaWwn,portId
Attribute
Type
Description
serverId
int
(Required) Server ID
hbaWwn
string
(Required) WWN of the HBA
portId
string
(Required) Port ID
- To specify the iSCSI name:
serverId/paths/iscsiName,portId
Attribute
Type
Description
serverId
int
(Required) Server ID
iscsiName
string
(Required) iSCSI name
portId
string
(Required) Port ID
- To specify the WWN of the HBA:
Response message
- Body
-
Attribute
Type
Description
statusResource
string
URL used to obtain the execution results of the delete the path information from the server request
Note:Execute the API function for obtaining information about the status of the API function that performs asynchronous processing. For details, see Getting status information about an API function that performs asynchronous processing.
Status codes
See HTTP status codes.
Coding example
curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session b74777a3f9f04ea8bd8f09847fac48d3" -X DELETE https://192.0.2.100/ConfigurationManager/simple/v1/objects/servers/10/paths/210003e08b0256f9,CL1-A