Deletes an application acceleration rule.

Debugging

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 DeleteApplicationAccelerationRule

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

DryRun Boolean No false

Specifies whether to precheck the request. Check items include permissions and the status of the specified instance. Valid values:

  • false (default): sends the request. After the request passes the check, the application acceleration rule is deleted.
  • true: prechecks the request without deleting the application acceleration rule. If you select this option, the system checks whether the required parameters are set, and whether the request syntax is valid. If the request fails to pass the precheck, the system returns an error. If the request passes the precheck, the DryRunOperation error code is returned.
ClientToken String No 02fb3da4-130e-11e9-8e44-001****

The client token that is used to ensure the idempotence of the request.

You can use the client to generate a token, but you must make sure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.

RegionId String Yes cn-shanghai

The region ID of the bandwidth plan for application acceleration.

You can call the DescribeRegions operation to query the most recent region list.

ApplicationAccelerateRuleId String Yes abwpr-2dq2jj5m73jdyv****

The ID of the application acceleration rule.

You can call the ListApplicationAccelerateRules operation to query the IDs of application acceleration rules that are added to a bandwidth plan for application acceleration.

Response parameters

Parameter Type Example Description
RequestId String 63314EC8-903A-4BD9-A460-F24C4B024704

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteApplicationAccelerationRule
&DryRun=false
&ClientToken=02fb3da4-130e-11e9-8e44-001****
&RegionId=cn-shanghai
&ApplicationAccelerateRuleId=abwpr-2dq2jj5m73jdyv****
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DeleteApplicationAccelerationRuleResponse>
    <RequestId>63314EC8-903A-4BD9-A460-F24C4B024704</RequestId>
</DeleteApplicationAccelerationRuleResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "63314EC8-903A-4BD9-A460-F24C4B024704"
}

Error codes

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