Detaching a volume from a specific server

Storage Advisor Embedded User Guide

Version
93-07-2x
88-08-12
Audience
anonymous
Part Number
MK-97HM85022-25

The following request disconnects all paths that are registered between a volume and server. The volume and server are specified by the volume ID and server ID, respectively.

Execution permission

Storage Administrator (Provisioning)

Request line

DELETE base-URL/simple/v1/objects/volume-server-connections/object-ID

Request message

Object ID

Specify the id value obtained by getting information about the connection between the volume and the server. The value of the obtained attribute id appears in the following format, in which the volume ID and the server ID are linked by a comma. You can specify these values (obtained by getting information about the connection between the volume and the server) in the command by using the same format: volumeId followed by serverId, linked by a comma.

volumeId,serverId

Attribute

Type

Description

volumeId

int

(Required) Volume ID

serverId

int

(Required) Server ID

Query parameters
None.
Body
None.

Response message

Body

Attribute

Type

Description

statusResource

string

URL used to obtain the results of the disconnect the volume and the server request

Note:

Run 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/volume-server-connections/100,10