deleteSubnet
- Print
- PDF
deleteSubnet
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Can be used in a VPC environment.
Overview
Delete a subnet.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code You can decide the region of the subnet to be deleted. regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList search results | |
subnetNo | Yes | String | The number of the subnet to be deleted subnetNo can be obtained through the getSubnetList action. | |
responseFormatType | No | String | Format type of the response results Options : xml | json Default : xml |
Response
Response body
Example
Request Example
GET {API_URL}/vpc/v2/deleteSubnet
?regionCode=KR
&subnetNo=***43
Response Example
<deleteSubnetResponse>
<requestId>a0746ba0-488a-45d1-94e9-a62dea9db1a8</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<subnetList>
<subnet>
<subnetNo>***43</subnetNo>
<vpcNo>***04</vpcNo>
<zoneCode>KR-1</zoneCode>
<subnetName>test-***</subnetName>
<subnet>***.***.1.0/24</subnet>
<subnetStatus>
<code>TERMTING</code>
<codeName>terminating</codeName>
</subnetStatus>
<createDate>2020-07-31T14:38:00+0900</createDate>
<subnetType>
<code>PUBLIC</code>
<codeName>Public</codeName>
</subnetType>
<usageType>
<code>GEN</code>
<codeName>General</codeName>
</usageType>
<networkAclNo>***31</networkAclNo>
</subnet>
</subnetList>
</deleteSubnetResponse>
Was this article helpful?