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,
)
DryRunOperation . Otherwise, it is UnauthorizedOperation .