--- title: "removeNetworkAclOutboundRule" slug: "cli-vpc-networkacl-removenetworkacloutboundrule" tags: ["VPC"] updated: 2026-10-08T05:07:34Z published: 2026-10-08T05:07:34Z canonical: "cli.ncloud-docs.com/cli-vpc-networkacl-removenetworkacloutboundrule" --- > ## 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. # removeNetworkAclOutboundRule Available in VPC Remove the list of outbound rules from the network ACL. ## Syntax The `removeNetworkAclOutboundRule` syntax is as follows: ``` ./ncloud vpc removeNetworkAclOutboundRule \ --networkAclNo \ --networkAclRuleList \ [--regionCode ] \ [--output ] ``` ## Options This section describes the options available when running `removeNetworkAclOutboundRule`. ### Required options The following options are required for `removeNetworkAclOutboundRule`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--networkAclNo` | String | Required | Network ACL number - See [getNetworkAclList](/docs/en/cli-vpc-networkacl-getnetworkacllist). | | `--networkAclRuleList` | List | Required | Network ACL outbound rule list - For each rule, enter {field='value'} pairs enclosed in quotes and separated by commas. - `priority` (required): Priority of the outbound rule. `0`~`199`. Can't be duplicated with the priorities of other outbound rules. - `protocolTypeCode` (required): Protocol type code. `TCP` \| `UDP` \| `ICMP` - `ipBlock` (conditional): IP address range. Can't be used at the same time with `denyAllowGroupNo`. Example: `0.0.0.0/0`, `100.10.20.0/24`, `192.168.0.10/32` - `denyAllowGroupNo` (conditional): Deny-allow group number. Can be specified instead of the allowed IP address range. Can't be used at the same time with `ipBlock`. See [getNetworkAclDenyAllowGroupList](/docs/en/cli-vpc-networkacl-getnetworkacldenyallowgrouplist). - `portRange` (conditional): Port range. Do not enter if `protocolTypeCode` is `ICMP`. Example: Single port `22`, range `1-65535`. - `ruleActionCode` (required): Whether to allow traffic. `ALLOW` \| `DROP` - See [getNetworkAclRuleList](/docs/en/cli-vpc-networkacl-getnetworkaclrulelist). | ### 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 an outbound network ACL rule is successful, the configuration information for each remaining rule is returned. ### Command The command example is as follows: ``` ./ncloud vpc removeNetworkAclOutboundRule \ --networkAclNo 34567890 \ --networkAclRuleList "priority='0', protocolTypeCode='TCP', ipBlock='192.0.2.0/24', portRange='13306', ruleActionCode='ALLOW'" \ --regionCode KR \ --output json ``` ### Output The output example is as follows: ``` { "removeNetworkAclOutboundRuleResponse": { "totalRows": 1, "networkAclRuleList": [ { "networkAclNo": "34567890", "priority": 1, "protocolType": { "code": "TCP", "codeName": "tcp" }, "portRange": "13307", "ruleAction": { "code": "DROP", "codeName": "Drop" }, "createDate": "2026-07-07T14:37:34+0900", "ipBlock": "192.0.2.0/24", "denyAllowGroupNo": "", "networkAclRuleType": { "code": "OTBND", "codeName": "Outbound" }, "networkAclRuleDescription": "" } ], "requestId": "d0e1f2a3-b4c5-6789-defa-012345678901", "returnCode": "0", "returnMessage": "success" } } ```