You can call the DeleteRules API to delete forwarding rules.


Click here to perform a debug operation in OpenAPI Explorer and automatically generate an SDK code example.

Request parameters

Name Type Required? Example value Description
Action String Yes DeleteRules

The action to perform. Valid value: DeleteRules

RegionId String Yes cn-hangzhou

The ID of the region to which the SLB instance belongs.

You can call the DescribeRegions API to query the region ID.

RuleIds String Yes ["rule-bp1z9cee47oip","rule-bp1tucxr06qu4"]

A list of the forwarding rules to be deleted

Response parameters

Name Type Example value Description
RequestId String 9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C

The ID of the request


Request example

http(s)://[Endpoint]/? Action=DeleteRules

Normal response examples

XML format


JSON format


Abnormal response example

JSON format

	"Message":"The specified parameter is not valid.",

Error codes

Click here to view the error codes.