Updated on 2025-10-30 GMT+08:00

Deleting a Network ACL

Function

This API is used to delete a network ACL that is no longer required.

Calling Method

For details, see Calling APIs.

URI

DELETE /v3/{project_id}/vpc/firewalls/{firewall_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

firewall_id

Yes

String

Definition:

Network ACL ID. You can call the API Querying Network ACLs to obtain the ID of the target network ACL, and then use this API to delete the network ACL.

Range:

N/A

project_id

Yes

String

Definition:

ID of the project that the network ACL belongs to. For details about how to obtain a project ID, see Obtaining a Project ID.

Range:

N/A

Request Parameters

None

Response Parameters

Status code: 204

Normal response to the DELETE operation. For more status codes, see Status Codes.

None

Example Requests

Deleting a network ACL

DELETE https://{Endpoint}/v3/{project_id}/vpc/firewalls/{firewall_id}

Example Responses

None

Status Codes

Status Code

Description

204

Normal response to the DELETE operation. For more status codes, see Status Codes.

Error Codes

See Error Codes.