deleteRouteTable

Prev Next

Can be used in a VPC environment.

Overview

Delete a routing table.

Request

Request parameter

Parameter Name Required Status Type Restrictions Description
regionCode No String Region Code
You can decide the region of the routing table to be deleted.
The regionCode can be obtained through the getRegionList action.
Default: Select the first region of the getRegionList query results.
routeTableNo Yes String The number of the routing table to be deleted
The routeTableNo can be obtained through the getRouteTableList action.
responseFormatType No String Format type for the response result
Options : xml | json
Default : xml

Response

Response data type

  • RouteTableList type
RouteTableList extends CommonResponse
private Integer totalRows;
private List routeTableList = new ArrayList<>();
RouteTable
private String routeTableNo;
private String routeTableName;
private String regionCode;
private String vpcNo;
private CommonCode supportedSubnetType;
private Boolean isDefault;
private CommonCode routeTableStatus;
private String routeTableDescription;

Example

Request example

ncloud vpc deleteRouteTable --regionCode KR --routeTableNo ***39

Response example

<deleteRouteTableResponse>
  <requestId>f793590b-7618-4c50-831c-fd1448f7f46a</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <routeTableList>
    <routeTable>
      <routeTableNo>***38</routeTableNo>
      <routeTableName>test-***</routeTableName>
      <regionCode>KR</regionCode>
      <vpcNo>***04</vpcNo>
      <supportedSubnetType>
        <code>PUBLIC</code>
        <codeName>Public</codeName>
      </supportedSubnetType>
      <isDefault>false</isDefault>
      <routeTableStatus>
        <code>RUN</code>
        <codeName>run</codeName>
      </routeTableStatus>
      <routeTableDescription></routeTableDescription>
    </routeTable>
  </routeTableList>
</deleteRouteTableResponse>