Deleting an Internet Gateway

Delete an internet gateway from a Virtual Cloud Network (VCN) in Networking.

Prerequisite: Before you delete an internet gateway, delete all route rules in the VCN that specify the gateway as the target. Deleting those rules stops the routing in the VCN to the gateway. If a route rule refers to the gateway, it can't be deleted until the reference is removed.

See Listing VCN Route Tables and Updating a VCN Route Table's Rules for more about finding and updating route rules that refer to a gateway.

Was this article helpful?