--- title: "deletePublicIpInstances" slug: "compute-server-deletepublicipinstances" tags: ["Server", "Public IP"] updated: 2026-11-24T09:25:51Z published: 2026-11-24T09:25:51Z canonical: "api.ncloud-docs.com/compute-server-deletepublicipinstances" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # deletePublicIpInstances ## 개요 공인 IP 인스턴스를 삭제합니다. ## 요청 ### 요청 파라미터 | 파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 | | --- | --- | --- | --- | --- | | publicIpInstanceNoList.N | Yes | List | 중복 불가 | - 삭제할 공인 IP 인스턴스 번호 리스트 publicIpInstanceNo는 getPublicIpInstanceList 액션을 통해 획득 가능 ex) publicIpInstanceNoList.1=1089236&publicIpInstanceNoList.2=1029175 | | responseFormatType | No | String | | - 응답 결과의 포맷 타입 Options : xml \| json Default : xml | ## 응답 ### 응답 바디 - [PublicIpInstanceList](/docs/common-apidatatype-publicipinstancelist) ## 예시 ### 요청 예시 ``` GET {SERVER_API_URL}/deletePublicIpInstances ?publicIpInstanceNoList.1=1089236 ``` ### 응답 예시 ``` 051277b0-971a-4d0c-b4af-bcc2260ae415 0 success 1 1089236 49.236.137.138 2018-11-28T14:38:55+0900 terminated TERMT NET TERMINATED state NULL NET NULL OP GEN General 3 KR-2 KR-2 평촌 zone 1 ``` ## 오류 코드 아래 오류 코드는 이 액션(Action)에서 특징적으로 발생하는 오류입니다. 공통적으로 발생하는 오류에 대한 상세한 설명은 [오류 처리](/docs/api-call-lgc-errorhandling)를 참조해 주십시오. | HTTP Response Code | 리턴 코드 | 리턴 메시지 | | --- | --- | --- | | 400 | 10713 | Not found contract information. Please check your input parameter. | | 400 | 10709 | Basic public ip can not be deleted. | | 400 | 24073 | Unable to destroy the server since a public IP is associated with the server. First, please disassociate a public IP from the server. publicIpInstanceNo = {0} | | 400 | 24109 | The input parameter instance number is invalid | | 400 | 24122 | The input parameter public IP instance number is invalid. |