This section describes how to delete a subnet.
If you want to delete a subnet that has custom routes, virtual IP addresses, or other resources, you need to delete these resources as prompted on the console first and then delete the subnet.
You can refer to Why Can't I Delete My VPCs and Subnets?
The Virtual Private Cloud page is displayed.
The Subnets page is displayed.
A confirmation dialog box is displayed.
If a subnet cannot be deleted, a message will be displayed on the console. Delete the resources that are in the subnet by referring to Why Can't I Delete My VPCs and Subnets?