DeleteRouteRule
Updated at:
Deletes a routing rule.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gemp:DeleteRouteRule |
delete |
*All Resource
|
None | None |
Request syntax
POST /routeRule/delete HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| routeRuleId |
integer |
Yes |
The rule ID. |
10000 |
| clientToken |
string |
No |
The idempotency token. |
C4BE3837-1A13-413B-A225-2C88188E8A43 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response structure. |
||
| requestId |
integer |
The request ID. |
C4BE3837-1A13-413B-A225-2C88188E8A43 |
Examples
Success response
JSON format
{
"requestId": 0
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DeleteEnabledRuleFail | Failed to delete the rule with the enabled status. | |
| 400 | DeleteRuleFail | Failed to delete the rules. | |
| 404 | RouteRuleNotExisted | The rule does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.
Is this page helpful?