You can delete an IPoIB tenant vNet if it is not attached to any running instances and there are no reserved IP addresses in the vNet.
Use the following command to delete an IPoIB vNet:
oracle-compute delete vnet name
For more information, see CLI Reference for Oracle Compute Cloud Service.
To delete an IPoIB vNet using the API, use the DELETE https://api.oc.example.com/vnet/name
method.
For more information, see REST API Reference for Oracle Compute Cloud Service.