Detaching a volume from a specific server

Storage Advisor Embedded Guide

Version
88-07-0x
Audience
anonymous
Part Number
MK-97HM85022-14

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 execution results of the disconnect the volume and 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/volume-server-connections/100,10