--- title: "deleteRouteTable" slug: "cli-vpc-routetable-deleteroutetable" tags: ["VPC"] updated: 2026-10-08T05:05:47Z published: 2026-10-08T05:05:47Z canonical: "cli.ncloud-docs.com/cli-vpc-routetable-deleteroutetable" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # deleteRouteTable Available in VPC Delete a route table by specifying a route table number. Route tables with associated subnets and automatically generated default route tables cannot be deleted. ## Syntax The `deleteRouteTable` syntax is as follows: ``` ./ncloud vpc deleteRouteTable \ --routeTableNo \ [--regionCode ] \ [--output ] ``` ## Options This section describes the options available when running `deleteRouteTable`. ### Required options The following options are required for `deleteRouteTable`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--routeTableNo` | String | Required | Route table number - See [getRouteTableList](/docs/en/cli-vpc-routetable-getroutetablelist). | ### Common options For information about the options common to all `vpc` subcommands, see [VPC options](/docs/en/cli-vpc#%EC%98%B5%EC%85%98). ## Examples If the request to delete a route table is successful, the configuration information for the route table is returned. ### Command The command example is as follows: ``` ./ncloud vpc deleteRouteTable \ --routeTableNo 45678901 \ --regionCode KR \ --output json ``` ### Output The output example is as follows: ``` { "deleteRouteTableResponse": { "totalRows": 1, "routeTableList": [ { "routeTableNo": "45678901", "routeTableName": "test-route-table", "regionCode": "KR", "vpcNo": "12345678", "supportedSubnetType": { "code": "PUBLIC", "codeName": "Public" }, "isDefault": false, "routeTableStatus": { "code": "RUN", "codeName": "In operation" }, "routeTableDescription": "Updated route table description" } ], "requestId": "e1f2a3b4-c5d6-7890-efab-123456789012", "returnCode": "0", "returnMessage": "success" } } ```