--- title: "deleteRouteTable" slug: "cli-vpc-routetable-deleteroutetable" updated: 2026-10-08T09:54:46Z published: 2026-10-08T09:54:46Z 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 VPC環境で利用できます。 ルーティングテーブル番号を指定してルーティングテーブルを削除します。Subnetに関連付けられているルーティングテーブルと、自動作成されたデフォルトのルーティングテーブルは削除できません。 ## 構文 `deleteRouteTable`構文は次の通りです。 ``` ./ncloud vpc deleteRouteTable \ --routeTableNo \ [--regionCode ] \ [--output ] ``` ## オプション `deleteRouteTable`の実行時に指定できるオプションについて説明します。 ### 必須オプション `deleteRouteTable`の必須オプションです。 | オプション | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `--routeTableNo` | String | Required | ルーティングテーブル番号 - [getRouteTableList](/docs/ja/cli-vpc-routetable-getroutetablelist)を参照 | ### 共通オプション `vpc`コマンドで共通して使用するオプションについては、[VPCのオプション](/docs/ja/cli-vpc#%EC%98%B5%EC%85%98)をご参照ください。 ## 例 ルーティングテーブルの削除リクエストが成功すると、ルーティングテーブルの構成情報が返されます。 ### コマンド コマンドの例は次の通りです。 ``` ./ncloud vpc deleteRouteTable \ --routeTableNo 45678901 \ --regionCode KR \ --output json ``` ### 出力 出力の例は次の通りです。 ``` { "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": "実行中" }, "routeTableDescription": "Updated route table description" } ], "requestId": "e1f2a3b4-c5d6-7890-efab-123456789012", "returnCode": "0", "returnMessage": "success" } } ```