You need to enable JavaScript to run this app.
Load Balancer

Load Balancer

Copy page
Download PDF
forwarding rules
DeleteRules - Deleting the specified listener forwarding rule
Copy page
Download PDF
DeleteRules - Deleting the specified listener forwarding rule
Call the DeleteRules API to delete specified listener forwarding rules.​
Instructions​
Submit up to 5 API requests per second.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
The following only details request parameters specific to this API and key common parameters. More information can be found in Common parameters.​
Action string required Example: DeleteRules​
Action to execute. Set the value to DeleteRules.​
​
Version string required Example: 2020-04-01​
The API version. Value: 2020-04-01.​
​
RuleIds.N string[] required Example: RuleIds.1=rule-****&RuleIds.2=rule-****​
The ID of the forwarding rule. The forwarding rule must belong to the corresponding listener. If none of the specified forwarding rules exist, then an error is returned.​
  • Parameter - N: N represents the serial number of the forwarding rule, ranging from 1 to 20.​
  • Separate multiple forwarding rules with ampersands (&).​
​
ListenerId string required Example: lsn-2fea4ayvu2g3k5oxruuz****​
Listener ID.​
​
​
​
Response parameters​
Only the response parameters specific to this API are listed below. More information, see Response structure.​
RequestId string Example: 20210811152539010225146063030****​
Request ID.​
​
​
​
Request examples​
​
GET /?Action=DeleteRules&ListenerId=lsn-1g0puwcx****8g8ibuxxw2pmf7&RuleIds.1=rule-1g0pux***a9s8ibuxy0p2l88&Version=2020-04-01 HTTP/1.1​
Host: alb.cn-beijing.volcengineapi.com​
X-Date: 20251121T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-beijing/alb/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
Response examples​
​
{​
"ResponseMetadata": {​
"RequestId": "2021081317494****22514214202F3FE94",​
"Action": "DeleteRules",​
"Version": "2020-04-01",​
"Service": "alb",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "2021081317494801022514214202F3FE94"​
}​
}​
​
​
Error codes​
The following table lists the error codes related to the business logic for this API. For details, see Common error codes.​
​
Status code​
Error codes​
Error message​
Notes​
400​
Invalid%s.Malformed​
MismatchThe specified %s is malformed.​
The specified %s parameter format is invalid.​
400​
MissingParameter​
The request is missing a required parameter. Ensure that you have supplied all the required parameters for the request; for example, '%s'.​
This request is missing a required parameter. Please ensure the request includes all required parameters, such as: %s.​
400​
InvalidParameter​
Data unmarshal failed.​
Failed to parse the request.​
400​
LimitExceed.Rule​
You've reached the limit on the number of rules that you can operate at a time.​
The maximum number of forwarding rules that can be operated in a single instance has been reached.​
400​
InvalidRuleIds.Duplicated​
The specified RuleIds is duplicated.​
The specified RuleIds is duplicated.​
400​
InvalidLoadBalancer.InvalidStatus​
The specified LoadBalancer is not in the correct status for the request.​
The specified ALB is in a state that cannot respond to this request.​
400​
InvalidServerGroup.InvalidStatus​
The specified ServerGroup is not in the correct status for the request.​
The specified server group is in a status that cannot respond to the request.​
403​
Forbidden​
You are not authorized to perform operations on the default rule.​
You do not have permission to operate the default forwarding rule.​
404​
InvalidListener.NotFound​
The specified Listener does not exist.​
The specified listener does not exist.​
404​
InvalidRule.NotFound​
The specified Rule does not exist.​
The specified forwarding rule does not exist.​
500​
InternalError​
An internal error has occurred.​
An internal error occurred. Please try again later or contact an engineer for further consultation.​
​
​
Last updated: 2026.06.12 14:13:12