deleteVpc
- Print
- PDF
deleteVpc
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Can be used in a VPC environment.
Overview
Delete a VPC.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code You can decide the region of the VPC to be deleted. regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList search results | |
vpcNo | Yes | String | The number of the VPC to be deleted vpcNo can be obtained through the getVpcList 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/deleteVpc
?regionCode=KR
&vpcNo=***04
Response Example
<deleteVpcResponse>
<requestId>f6d32d67-ab92-4096-b240-ed2e96d8d265</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<vpcList>
<vpc>
<vpcNo>***04</vpcNo>
<vpcName>test-***</vpcName>
<ipv4CidrBlock>***.***.0.0/16</ipv4CidrBlock>
<vpcStatus>
<code>TERMTING</code>
<codeName>terminating</codeName>
</vpcStatus>
<regionCode>KR</regionCode>
<createDate>2020-07-27T17:17:05+0900</createDate>
</vpc>
</vpcList>
</deleteVpcResponse>
Was this article helpful?