Clears the Logstore of Anti-DDoS Pro or Anti-DDoS Premium.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes EmptySlsLogstore

The operation that you want to perform. Set the value to EmptySlsLogstore.

RegionId String No cn-hangzhou

The region ID of the instance. Valid values:

  • cn-hangzhou: the Chinese mainland, which indicates an Anti-DDoS Pro instance
  • ap-southeast-1: outside the Chinese mainland, which indicates an Anti-DDoS Premium instance
ResourceGroupId String No default

The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.

Response parameters

Parameter Type Example Description
RequestId String CF33B4C3-196E-4015-AADD-5CAD00057B80

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=EmptySlsLogstore
&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "CF33B4C3-196E-4015-AADD-5CAD00057B80"

Error codes

For a list of error codes, visit the API Error Center.