aws ec2 delete-vpc
Deletes the specified VPC. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To delete a VPC
The following delete-vpc example deletes the specified VPC.
aws ec2 delete-vpc --vpc-id vpc-a01106c2Identify--vpc-idThe ID of the VPC.This command produces no output.
For more information, see Delete your VPC 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.--vpc-idThe ID of the VPC.