detachNetworkInterface
- Print
- PDF
detachNetworkInterface
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a VPC environment.
Overview
This releases the network interface assigned to the server instance. The default network interface of server instance can't be released.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code You can decide the region of the network interface to be released. regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList search results | |
subnetNo | Yes | String | Subnet number This determines the subnet of the network interface to be released. subnetNo can be obtained through the getSubnetList action. | |
networkInterfaceNo | Yes | String | The number of the network interface to be released networkInterfaceNo can be obtained through the getNetworkInterfaceList action. | |
serverInstanceNo | Yes | String | Server instance number This determines the server instance from which a network interface will be released. serverInstanceNo can be obtained through the getServerInstanceList action. | |
responseFormatType | No | String | Format type of the response results Options : xml | json Default : xml |
Response
Response body
Example
Request Example
GET {API_URL}/detachNetworkInterface
?regionCode=KR
&subnetNo=***43
&networkInterfaceNo=***87
&serverInstanceNo=***4299
Response Example
<detachNetworkInterfaceResponse>
<requestId>49ab504e-5b11-402e-9933-9f8ce7911d30</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<networkInterfaceList>
<networkInterface>
<networkInterfaceNo>***87</networkInterfaceNo>
<networkInterfaceName>test-***</networkInterfaceName>
<subnetNo>***43</subnetNo>
<deleteOnTermination>false</deleteOnTermination>
<isDefault>false</isDefault>
<deviceName>eth1</deviceName>
<networkInterfaceStatus>
<code>UNSET</code>
<codeName>unset</codeName>
</networkInterfaceStatus>
<instanceType>
<code>VSVR</code>
<codeName>Server (VPC)</codeName>
</instanceType>
<instanceNo>***4299</instanceNo>
<ip>***.***.1.7</ip>
<macAddress>F2:20:***:***:8A:F5</macAddress>
<accessControlGroupNoList/>
<networkInterfaceDescription></networkInterfaceDescription>
<secondaryIpList></secondaryIpList>
</networkInterface>
</networkInterfaceList>
</detachNetworkInterfaceResponse>
Was this article helpful?