delete https://api.linode.com//vpcs/
Delete a single VPC and all of its Subnets.
- The User accessing this operation must have
read_writegrants to the VPC. - A successful request triggers a
vpc_deleteevent andsubnet_deleteevents for each deleted VPC Subnet. - All of the VPC's subnets need to be eligible for deletion. You need to delete all network interfaces each subnet is assigned to. If those interfaces are active, you need to shut down the associated Linodes first. If any subnet can't be deleted, it prevents the VPC and its subnets from being deleted.
- You can't delete a VPC if a NodeBalancer or a managed database is attached to one of its subnets.
linode-cli vpcs delete $vpcId
<https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>
vpc:read_write
<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>
