| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Disassociates a subnet from a route table.
After you perform this action, the subnet no longer uses the routes in the route table. Instead, it uses the routes in the VPC's main route table. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide.
AssociationIdThe association ID representing the current association between the route table and subnet.
Type: String
Default: None
Required: Yes
The following elements are returned in a
DisassociateRouteTableResponse element.
requestIdThe ID of the request.
Type: xsd:string
returnReturns true if the request succeeds. Otherwise, returns an error.
Type: xsd:boolean
This example disassociates the route table with association ID rtbassoc-fdad4894 from the subnet it's associated to.
https://ec2.amazonaws.com/?Action=DisassociateRouteTable &AssociationId=rtbassoc-fdad4894 &AUTHPARAMS
<DisassociateRouteTableResponse xmlns="http://ec2.amazonaws.com/doc/2013-02-01/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> </DisassociateRouteTableResponse>