CmdID / az / az network / az network vnet / az network vnet subnet
az network vnet subnet delete
Delete a subnet. Azure CLI reference
3 options Its page in the Azure CLI reference
Options
--name, -nThe subnet name.--subnet-name--vnet-nameThe virtual network (VNet) name.