deleteNetworkAcl

Prev Next

Available in VPC

Delete a network ACL by specifying the network ACL number.

Syntax

The deleteNetworkAcl syntax is as follows:

./ncloud vpc deleteNetworkAcl \
    --networkAclNo <network-acl-no> \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running deleteNetworkAcl.

Required options

The following options are required for deleteNetworkAcl.

Options Type Required Description
--networkAclNo String Required Network ACL number

Common options

For information about the options common to all vpc subcommands, see VPC options.

Examples

If the request to delete a network ACL is successful, the network ACL's configuration information and termination status are returned.

Command

The command example is as follows:

./ncloud vpc deleteNetworkAcl \
    --networkAclNo 34567890 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "deleteNetworkAclResponse": {
    "totalRows": 1,
    "networkAclList": [
      {
        "networkAclNo": "34567890",
        "networkAclName": "test-acl-01",
        "vpcNo": "12345678",
        "networkAclStatus": {
          "code": "TERMT",
          "codeName": "Deletion"
        },
        "networkAclDescription": "Updated network ACL description",
        "createDate": "2026-07-07T14:37:10+0900",
        "isDefault": false
      }
    ],
    "requestId": "e7f8a9b0-c1d2-3456-efab-789012345678",
    "returnCode": "0",
    "returnMessage": "success"
  }
}