disassociatePublicIpFromServerInstance

Prev Next

Can be used in a VPC environment.

Overview

This unassigns a public IP instance from the server instance.

Request

Request parameters

Parameter name Required Type Restrictions Description
regionCode No String Region code
You can decide the region of the public IP instance to be unassigned from the server instance.
regionCode can be obtained through the getRegionList action.
Default: Select the first region of the getRegionList search results
publicIpInstanceNo Conditional String Public IP instance number
You can decide the public IP instance number to be unassigned from the server instance.
Either publicIpInstanceNo or serverInstanceNo is required to be entered.
publicIpInstanceNo can be obtained through the getPublicIpInstanceList action.
serverInstanceNo Conditional String Server instance number
You can decide the server instance that will unassign a public IP instance.
Either publicIpInstanceNo or serverInstanceNo is required to be entered.
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}/disassociatePublicIpFromServerInstance
?regionCode=KR
&publicIpInstanceNo=***7551

Response Example

<disassociatePublicIpFromServerInstanceResponse>
  <requestId>bb66616c-3de6-4fb9-9ff0-823249d4e488</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <publicIpInstanceList>
    <publicIpInstance>
      <publicIpInstanceNo>***7551</publicIpInstanceNo>
      <publicIp>***.***.111.215</publicIp>
      <publicIpDescription></publicIpDescription>
      <createDate>2020-08-19T16:52:50+0900</createDate>
      <publicIpInstanceStatusName>Configuring</publicIpInstanceStatusName>
      <publicIpInstanceStatus>
        <code>RUN</code>
        <codeName>run</codeName>
      </publicIpInstanceStatus>
      <serverInstanceNo></serverInstanceNo>
      <serverName></serverName>
      <privateIp></privateIp>
      <publicIpInstanceOperation>
        <code>SET</code>
        <codeName>SETTING OP</codeName>
      </publicIpInstanceOperation>
    </publicIpInstance>
  </publicIpInstanceList>
</disassociatePublicIpFromServerInstanceResponse>