CmdID / az / az aks / az aks nodepool
az aks nodepool delete-machines
Delete specific machines in an agentpool for a managed cluster. Azure CLI reference
1 option Its page in the Azure CLI reference
Options
--machine-namesSpace-separated list of machine names from the agent pool to be deleted.