MENU
      deletePublicIpInstances

        deletePublicIpInstances


        Article summary

        Overview

        Deleting a public IP instance

        Description

        Delete a public IP instance.

        Request Parameters

        Parameter NameRequirednessTypeLimitationDescription
        publicIpInstanceNoListYesListRepeat not allowedPublic IP instance No. list to delete
        You can get one by calling getPublicIpInstanceList.

        Response Data Type

        • PublicIpInstanceList type
        PublicIpInstanceList extends CommonResponse
        private Integer totalRows;
        private List publicIpInstanceList = new ArrayList();
        PublicIpInstance
        private String publicIpInstanceNo;
        private String publiclIp;
        private String publicIpDescription;
        private Date createDate;
        private String publicIpInstanceStatusName;
        private CommonCode publicIpInstanceStatus;
        private CommonCode publicIpInstanceOperation;
        private CommonCode publicIpKindType;
        private ServerInstance serverInstanceAssociatedWithPublicIp;

        Examples

        Request

        ncloud server deletePublicIpInstances --publicIpInstanceNoList 397265
        Plain text

        Response

        {
          "deletePublicIpInstancesResponse": {
            "requestId": "3de920cc-c6a1-428d-9de8-2a247b15176f",
            "returnCode": "0",
            "returnMessage": "success",
            "totalRows": 1,
            "publicIpInstanceList": [
              {
                "publicIpInstanceNo": "397265",
                "publicIp": "192.168.60.125",
                "publicIpDescription": "",
                "createDate": "2018-02-23T14:08:13+0900",
                "publicIpInstanceStatusName": "terminated",
                "publicIpInstanceStatus": {
                  "code": "TERMT",
                  "codeName": "NET TERMINATED State"
                },
                "publicIpInstanceOperation": {
                  "code": "NULL",
                  "codeName": "NET NULL OP"
                },
                "publicIpKindType": {
                  "code": "GEN",
                  "codeName": "General"
                },
                "serverInstanceAssociatedWithPublicIp": {},
                "zone": {
                  "zoneNo": "2",
                  "zoneName": "KR-1",
                  "zoneCode": "KR-1",
                  "zoneDescription": "KR-1 zone",
                  "regionNo" : "1"
                }
              }
            ]
          }
        }
        JSON
        <?xml version="1.0" encoding="UTF-8" ?>
        <deletePublicIpInstancesResponse>
          <requestId>3de920cc-c6a1-428d-9de8-2a247b15176f</requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
          <totalRows>1</totalRows>
          <publicIpInstanceList>
            <publicIpInstanceNo>397265</publicIpInstanceNo>
            <publicIp>192.168.60.125</publicIp>
            <publicIpDescription></publicIpDescription>
            <createDate>2018-02-23T14:08:13+0900</createDate>
            <publicIpInstanceStatusName>terminated</publicIpInstanceStatusName>
            <publicIpInstanceStatus>
              <code>TERMT</code>
              <codeName>NET TERMINATED State</codeName>
            </publicIpInstanceStatus>
            <publicIpInstanceOperation>
              <code>NULL</code>
              <codeName>NET NULL OP</codeName>
            </publicIpInstanceOperation>
            <publicIpKindType>
              <code>GEN</code>
              <codeName>General</codeName>
            </publicIpKindType>
            <serverInstanceAssociatedWithPublicIp/>
            <zone>
              <zoneNo>2</zoneNo>
              <zoneName>KR-1</zoneName>
              <zoneCode>KR-1</zoneCode>
              <zoneDescription>KR-1 zone</zoneDescription>
              <regionNo>1</regionNo>
            </zone>
          </publicIpInstanceList>
        </deletePublicIpInstancesResponse>
        XML

        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.