Deletes forwarding rules.
Operation description
You must specify at least one forwarding rule that you want to delete. You can specify at most 10 forwarding rules in each call.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
slb:DeleteRules |
delete |
*loadbalancer
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the Server Load Balancer (SLB) instance is deployed. You can call the DescribeRegions operation to query region IDs. |
cn-hangzhou |
| RuleIds |
string |
Yes |
The list of forwarding rules that you want to delete. Note
The RuleIds parameter is required. You can specify up to 10 forwarding rules in each request. |
["rule-bp1z9ce******","rule-bp1tuc******4"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C |
Examples
Success response
JSON format
{
"RequestId": "9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C"
}
Error response
JSON format
{"Code":"InvalidParameter","Message":"The specified parameter is not valid.","HostId":"slb-pop.aliyuncs.com","RequestId":"0669D684-69D8-408E-A4FA-B9011E0F4E66"}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Operation.NotAllowed | The specified rules must be in the same listener. | |
| 400 | OperationFailed.ListenerStatusNotSupport | The status of the listener does not support this operation. Please try again later. | |
| 400 | OperationFailed.ListenerConflict | The rule does not support this operation because of same port listener. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.