--- title: "removeRouteTableSubnet" slug: "cli-vpc-routetable-removeroutetablesubnet" tags: ["VPC"] updated: 2026-10-08T05:06:17Z published: 2026-10-08T05:06:17Z canonical: "cli.ncloud-docs.com/cli-vpc-routetable-removeroutetablesubnet" --- > ## 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. # removeRouteTableSubnet Available in VPC Remove the list of subnets associated with a route table. ## Syntax The `removeRouteTableSubnet` syntax is as follows: ``` ./ncloud vpc removeRouteTableSubnet \ --vpcNo \ --routeTableNo \ --subnetNoList \ [--regionCode ] \ [--output ] ``` ## Options This section describes the options available when running `removeRouteTableSubnet`. ### Required options The following options are required for `removeRouteTableSubnet`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--vpcNo` | String | Required | VPC number - See [getVpcList](/docs/en/cli-vpc-vpcmanagement-getvpclist). | | `--routeTableNo` | String | Required | Route table number - See [getRouteTableList](/docs/en/cli-vpc-routetable-getroutetablelist). | | `--subnetNoList` | List | Required | Subnet number list - You can enter multiple items separated by spaces (e.g., `--subnetNoList 1234 2345`). - See [getSubnetList](/docs/en/cli-vpc-subnetmanagement-getsubnetlist) and [getRouteTableSubnetList](/docs/en/cli-vpc-routetable-getroutetablesubnetlist). | ### 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 remove associated subnets is successful, the configuration information for each subnet is returned. ### Command The command example is as follows: ``` ./ncloud vpc removeRouteTableSubnet \ --vpcNo 12345678 \ --routeTableNo 45678901 \ --subnetNoList 23456789 \ --regionCode KR \ --output json ``` ### Output The output example is as follows: ``` { "removeRouteTableSubnetResponse": { "totalRows": 1, "subnetList": [ { "subnetNo": "23456790", "vpcNo": "12345678", "zoneCode": "KR-1", "subnetName": "test-subnet-02", "subnet": "10.0.4.0/24", "subnetStatus": { "code": "RUN", "codeName": "In operation" }, "subnetType": { "code": "PUBLIC", "codeName": "Public" } } ], "requestId": "d0e1f2a3-b4c5-6789-defa-012345678901", "returnCode": "0", "returnMessage": "success" } } ```