Deletes a routing rule for an Alibaba Cloud Service Mesh (ASM) gateway.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | DeleteGatewayRoute |
The operation that you want to perform. Set the value to DeleteGatewayRoute. |
| ServiceMeshId | String | Yes | c08ba3fd1e6484b0f8cc1ad8fe10d**** |
The ID of the ASM instance. |
| IstioGatewayName | String | No | ingressgateway |
The name of the ASM gateway. |
| RouteName | String | No | http-route |
The name of the routing rule. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 31d3a0f0-07ed-4f6e-9004-1804498c**** |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteGatewayRoute
&ServiceMeshId=c08ba3fd1e6484b0f8cc1ad8fe10d****
&IstioGatewayName=ingressgateway
&RouteName=http-route
&<Common request parameters>
Sample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteGatewayRouteResponse>
<RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>
</DeleteGatewayRouteResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "31d3a0f0-07ed-4f6e-9004-1804498c****"
}
Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 500 | ERR500 | An internal server error occurred. | The error message returned because a backend service error has occurred. |
For a list of error codes, visit the API Error Center.