delete https://api.linode.com//vpcs//subnets/
Delete a single VPC Subnet.
The user accessing this operation must have read_write
grants to the VPC. A successful request triggers a subnet_delete
event.
Note. You need to delete all the Configuration Profile Interfaces that this Subnet is assigned to before you can delete it. If those Interfaces are active, the associated Linode needs to be shut down before they can be removed.
linode-cli vpcs subnet-delete $vpcId $vpcSubnetId
<https://www.linode.com/docs/products/tools/cli/get-started/>
vpc:read_write
<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>