All Products
Search
Document Center

Web Application Firewall:ClearAddress

Last Updated:Dec 26, 2025

Deletes all addresses from an address book.

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

InstanceId

string

Yes

The ID of the WAF instance.

Note

Call the DescribeInstance operation to query the ID of the WAF instance.

waf-cn-7mz****hw0u

RuleId

integer

Yes

The ID of the address book.

12345678

ResourceManagerResourceGroupId

string

No

The ID of the Alibaba Cloud resource group.

rg-acfm***q

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

276D7566-31C9-4192-9DD1-51B10D*****

Examples

Success response

JSON format

{
  "RequestId": "276D7566-31C9-4192-9DD1-51B10D*****"
}

Error codes

HTTP status code

Error code

Error message

Description

400 Defense.Control.DefenseAddressOperationTooFrequent Address book operations are too frequent. Address book operations are too frequent. Please try again later.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.