delete

EC2.RouteTable.delete(**kwargs)

Deletes the specified route table. You must disassociate the route table from any subnets before you can delete it. You can't delete the main route table.

See also: AWS API Documentation

Request Syntax

response = route_table.delete(
    DryRun=True|False,

)
Parameters
DryRun (boolean) -- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .
Returns
None