Deletes a forwarding 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 DeleteResolverRule

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

Lang String No en

The language.

RuleId String Yes hra0**

The ID of the forwarding rule.

Response parameters

Parameter Type Example Description
RequestId String 0C9959BE-3A6A-4803-8DCE-973B42ACD599

The ID of the request.

Examples

Sample request

http(s)://pvtz.aliyuncs.com/?Action=DeleteResolverRule
&Lang=en
&RuleId=hra0**
&<Common request parameters>

Sample success responses

XML format

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

<RequestId>0C9959BE-3A6A-4803-8DCE-973B42ACD599</RequestId>

JSON format

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

{
  "RequestId" : "0C9959BE-3A6A-4803-8DCE-973B42ACD599"
}

Error codes

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