All Products
Search
Document Center

Cloud Firewall:ResetRuleHitCount

Last Updated:Oct 15, 2025

Resets the hit count of a rule.

Operation description

This operation resets the hit count of an access control policy in a VPC firewall policy group.

QPS limit

This operation is limited to 10 queries per second (QPS) per user. If you exceed this limit, API calls are throttled, which may impact your business. Plan your calls accordingly.

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 requester.

112.64.126.XXX

Lang

string

No

The language of the response. Valid values:

  • zh: Chinese (default)

  • en: English

zh

AclUuid

string

Yes

The unique ID of the access control policy.

211fd804-30f5-470f-ab26-c465a4****

Response elements

Element

Type

Description

Example

object

Module

string

The application module.

sg_server

RequestId

string

The ID of the request.

706B2093-CBA0-51B2-BEBF-58903FC6****

Examples

Success response

JSON format

{
  "Module": "sg_server",
  "RequestId": "706B2093-CBA0-51B2-BEBF-58903FC6****"
}

Error codes

HTTP status code

Error code

Error message

Description

400 ErrorParametersUid The aliUid parameter is invalid. The aliUid parameter is invalid.
400 ErrorDBDelete An error occurred while deleting the database. An error occurred while deleting the database.
400 ErrorMarshalJSON An error occurred while encoding JSON. An error occurred while encoding JSON.
400 ErrorAclNotExist The ACL does not exist. The ACL does not exist.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.