code: public void removeNodes(String poolId, NodeRemoveParameter nodeRemoveParameter) {
          removeNodesWithServiceResponseAsync(poolId, nodeRemoveParameter).toBlocking().single().body();
      }
docs: Removes compute nodes from the specified pool.
  This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.
  
  @param poolId The ID of the pool from which you want to remove nodes.
  @param nodeRemoveParameter The parameters for the request.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws BatchErrorException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent