All Products
Search
Document Center

Cloud Firewall:DeleteDnsFirewallPolicy

Last Updated:Oct 16, 2025

Deletes a DNS firewall policy.

Operation description

You can call this operation to delete a DNS firewall policy.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

SourceIp

string

No

The source IP address of the request.

140.210.39.***

Lang

string

No

The language of the request and response. Valid values: zh for Chinese and en for English.

zh

AclUuid

string

Yes

The unique ID of the access control policy.

498946f4-c98a-45c0-9038-635c******

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

32314C1E-82CF-582C-853A-B1773F******

Examples

Success response

JSON format

{
  "RequestId": "32314C1E-82CF-582C-853A-B1773F******"
}

Error codes

HTTP status code

Error code

Error message

Description

400 ErrorParametersUid The aliUid parameter is invalid. The aliUid parameter is invalid.
400 ErrorDBSelect An error occurred while querying database. An error occurred while querying database.
400 ErrorDBDelete An error occurred while deleting the database. An error occurred while deleting the database.
400 ErrorDBInsert An error occurred while performing an insert operation in the database. An error occurred while performing an insert operation in the database.
400 ErrorRecordLog An error occurred while updating the operation log. An error occurred while updating the operation log.
400 ErrorMarshalJSON An error occurred while encoding JSON. An error occurred while encoding JSON.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.