aws ec2 delete-route-table
Deletes the specified route table. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To delete a route table
The following delete-route-table example deletes the specified route table.
aws ec2 delete-route-table --route-table-id rtb-22574640Identify--route-table-idThe ID of the route table.This command produces no output.
For more information, see Configure route tables in the Amazon VPC User Guide.
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--route-table-idThe ID of the route table.