Available in VPC
Remove the list of outbound rules from the network ACL.
Syntax
The removeNetworkAclOutboundRule syntax is as follows:
./ncloud vpc removeNetworkAclOutboundRule \
--networkAclNo <network-acl-no> \
--networkAclRuleList <rule-list> \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
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
|
--networkAclRuleList |
List | Required | Network ACL outbound rule list
|
Common options
For information about the options common to all vpc subcommands, see VPC options.
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"
}
}