Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to Digg

DisassociateRouteTable

Description

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, go to Route Tables in the Amazon Virtual Private Cloud User Guide.

Request Parameters

NameDescriptionRequired

AssociationId

The association ID representing the current association between the route table and subnet.

Type: String

Default: None

Yes

Response Elements

The elements in the following table are wrapped in a DisassociateRouteTableResponse structure.

NameDescription

requestId

The ID of the request.

Type: String

return

Returns true if the request succeeds. Otherwise, returns an error.

Type: xsd:boolean

Examples

Example Request

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

Example Response

<DisassociateRouteTableResponse xmlns="http://ec2.amazonaws.com/doc/2011-01-01/">
   <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> 
   <return>true</return>
</DisassociateRouteTableResponse>

Related Operations