Disassociates a gateway route table from an IPv4 gateway.
Debugging
Request parameters
Parameter |
Type |
Required |
Example |
Description |
Action | String | Yes | DissociateRouteTableFromGateway | The operation that you want to perform. Set the value to DissociateRouteTableFromGateway. |
RegionId | String | Yes | ap-southeast-6 | The region ID of the IPv4 gateway from which you want to disassociate the gateway route table. You can call the DescribeRegions operation to query the most recent region list. |
RouteTableId | String | Yes | vtb-5ts0ohchwkp3dydt2**** | The ID of the gateway route table. |
ClientToken | String | No | 123e4567-e89b-12d3-a456-426655440000 | The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. Note If you do not specify this parameter, the system automatically uses the client token as the request ID. The request ID may be different for each request. |
DryRun | Boolean | No | false | Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
GatewayId | String | Yes | ipv4gw-5tsnc6s4ogsedtp3k**** | The ID of the IPv4 gateway. |
Response parameters
Parameter |
Type |
Example |
Description |
RequestId | String | C5644C9A-7480-13B6-AECB-30FF142E3724 | The request ID. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DissociateRouteTableFromGateway
&RegionId=ap-southeast-6
&RouteTableId=vtb-5ts0ohchwkp3dydt2****
&ClientToken=123e4567-e89b-12d3-a456-426655440000
&DryRun=false
&GatewayId=ipv4gw-5tsnc6s4ogsedtp3k****
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DissociateRouteTableFromGatewayResponse>
<RequestId>C5644C9A-7480-13B6-AECB-30FF142E3724</RequestId>
</DissociateRouteTableFromGatewayResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "C5644C9A-7480-13B6-AECB-30FF142E3724"
}
Error codes
HttpCode |
Error code |
Error message |
Description |
400 | ResourceNotFound.Ipv4Gateway | The specified resource ipv4Gateway is not found. | The specified IPv4 gateway is not found and cannot be found. |
400 | ResourceNotFound.RouteTable | The specified resource gatewayRouteTable is not found. | The gateway route table does not exist. |
For a list of error codes, see Service error codes.