docstr: Delete a vector with an invalid api key
code: def test_delete_vector_with_invalid_api_key(self):
      """
      Delete a vector with an invalid api key
      """
      name = gen_collection_name()
      self.name = name
      nb = 200
      dim = 128
      schema_payload, data = self.init_collection(name, dim=dim, nb=nb)
      output_fields = get_common_fields_by_data(data)
      uids = []
      for item in data:
          uids.append(item.get("uid"))
      payload = {
          "collectionName": name,
          "outputFields": output_fields,
          "filter": f"uid in {uids}",
      }
      rsp = self.vector_client.vector_query(payload)
      assert rsp["code"] == 200
      res = rsp["data"]
      logger.info(f"res: {len(res)}")
      ids = []
      for r in res:
          ids.append(r["id"])
      logger.info(f"ids: {len(ids)}")
      id_to_get = ids
      # delete by id list
      payload = {"collectionName": name, "id": id_to_get}
      client = self.vector_client
      client.api_key = "invalid_api_key"
      rsp = client.vector_delete(payload)
      assert rsp["code"] == 1800
  
imports: import datetime
  import random
  import time
  from sklearn import preprocessing
  import numpy
  import sys
  import json
  import time
  from utils import constant
  from utils.utils import gen_collection_name
  from utils.util_log import test_log
  import pytest
  from api.milvus import VectorClient
  from base.testbase import TestBase
  from utils.utils import get_data_by_fields, get_data_by_payload, get_common_fields_by_data
label_desc: Use image node_id 2 for calling the TestDeleteVector obj's underlying member method code with example usage: obj.test_delete_vector_with_invalid_api_key() without return types