disassociatePublicIpFromServerInstance
    • PDF

    disassociatePublicIpFromServerInstance

    • PDF

    Article summary

    Overview

    Removes a public IP address from a server instance.

    Request

    Request parameters

    ParameterRequiredTypeLimitationsDescription
    publicIpInstanceNoYStringPublic IP instance number to remove
    Get available values by using the getPublicIpInstanceList action.

    Response

    Response body

    Examples

    Request example

    GET {SERVER_API_URL}/disassociatePublicIpFromServerInstance
    ?publicIpInstanceNo=1089236
    

    Response example

    <disassociatePublicIpFromServerInstanceResponse>
      <requestId>acbe1aab-2511-4a71-9e94-af8a62f24ed4</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <publicIpInstanceList>
        <publicIpInstance>
          <publicIpInstanceNo>1089236</publicIpInstanceNo>
          <publicIp>49.236.137.138</publicIp>
          <publicIpDescription></publicIpDescription>
          <createDate>2018-11-28T14:38:55+0900</createDate>
          <publicIpInstanceStatusName>disusing</publicIpInstanceStatusName>
          <publicIpInstanceStatus>
            <code>USED</code>
            <codeName>NET USED state</codeName>
          </publicIpInstanceStatus>
          <publicIpInstanceOperation>
            <code>DISUS</code>
            <codeName>NET DISUSE OP</codeName>
          </publicIpInstanceOperation>
          <publicIpKindType>
            <code>GEN</code>
            <codeName>General</codeName>
          </publicIpKindType>
          <serverInstanceAssociatedWithPublicIp>
            <serverInstanceNo>1088217</serverInstanceNo>
            <serverName>s167545541a3</serverName>
            <serverDescription></serverDescription>
            <cpuCount>4</cpuCount>
            <memorySize>8589934592</memorySize>
            <baseBlockStorageSize>53687091200</baseBlockStorageSize>
            <platformType>
              <code>LNX32</code>
              <codeName>Linux 32 Bit</codeName>
            </platformType>
            <loginKeyName>juhoon-kim</loginKeyName>
            <isFeeChargingMonitoring>false</isFeeChargingMonitoring>
            <publicIp>49.236.137.138</publicIp>
            <privateIp>10.41.83.168</privateIp>
            <serverImageName>centos-6.3-32</serverImageName>
            <serverInstanceStatus>
              <code>RUN</code>
              <codeName>Server run state</codeName>
            </serverInstanceStatus>
            <serverInstanceOperation>
              <code>NULL</code>
              <codeName>Server NULL OP</codeName>
            </serverInstanceOperation>
            <serverInstanceStatusName>running</serverInstanceStatusName>
            <createDate>2018-11-27T17:42:13+0900</createDate>
            <uptime>2018-11-27T18:35:47+0900</uptime>
            <serverImageProductCode>SPSW0LINUX000032</serverImageProductCode>
            <serverProductCode>SPSVRSTAND000005</serverProductCode>
            <isProtectServerTermination>false</isProtectServerTermination>
            <portForwardingPublicIp>106.10.51.90</portForwardingPublicIp>
            <zone>
              <zoneNo>3</zoneNo>
              <zoneName>KR-2</zoneName>
              <zoneCode>KR-2</zoneCode>
              <zoneDescription>Pyeongchon zone</zoneDescription>
              <regionNo>1</regionNo>
            </zone>
            <region>
              <regionNo>1</regionNo>
              <regionCode>KR</regionCode>
              <regionName>Korea</regionName>
            </region>
            <baseBlockStorageDiskType>
              <code>NET</code>
              <codeName>Network Storage</codeName>
            </baseBlockStorageDiskType>
            <baseBlockStorageDiskDetailType>
              <code>HDD</code>
              <codeName>HDD</codeName>
            </baseBlockStorageDiskDetailType>
            <serverInstanceType>
              <code>STAND</code>
              <codeName>Standard</codeName>
            </serverInstanceType>
            <userData></userData>
            <accessControlGroupList>
              <accessControlGroup>
                <accessControlGroupConfigurationNo>39995</accessControlGroupConfigurationNo>
                <accessControlGroupName>ncloud-default-acg</accessControlGroupName>
                <accessControlGroupDescription>Default AccessControlGroup</accessControlGroupDescription>
                <isDefault>true</isDefault>
                <createDate>2018-04-09T11:12:54+0900</createDate>
              </accessControlGroup>
            </accessControlGroupList>
            <instanceTagList/>
          </serverInstanceAssociatedWithPublicIp>
          <zone>
            <zoneNo>3</zoneNo>
            <zoneName>KR-2</zoneName>
            <zoneCode>KR-2</zoneCode>
            <zoneDescription>Pyeongchon zone</zoneDescription>
            <regionNo>1</regionNo>
          </zone>
        </publicIpInstance>
      </publicIpInstanceList>
    </disassociatePublicIpFromServerInstanceResponse>
    

    Error codes

    Errors that may occur while using this action are listed below. For information on common errors, refer to NAVER Cloud Platform API.

    HTTP response codeReturn codeReturn message
    40024109The input parameter instance number is invalid
    40024122The input parameter public IP instance number is invalid.
    40025031You may not perform allocated cancellation task since (other) user is changing the target official IP settings.
    40025032You may not delete sk since (other) user is changing the target official IP settings.
    40028102The public IP is already disassociated from the server.

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.