aws ec2 detach-vpn-gateway
Detaches a virtual private gateway from a VPC. AWS CLI reference
3 options Its page in the AWS CLI reference
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.--vpn-gateway-idThe ID of the virtual private gateway.