code: def delete_single(self, instance_id: str):
      logger.debug("Deleting instance %s", instance_id)
      resp = self.s.post(
          self._url("/client/delete/single"),
          data={
              "api_key": self.api_key,
              "api_token": self.api_token,
              "server": instance_id,
          },
      )
      resp.raise_for_status()
      data = resp.json()
      if not data["success"]:
          raise requests.HTTPError(data)
  
file_path: dstack/src/dstack/_internal/core/backends/tensordock/api_client.py
imports: import uuid
  import requests
  import yaml
  from dstack._internal.core.models.instances import InstanceType
  from dstack._internal.utils.logging import get_logger
label_desc: Use image node_id 5 for calling the TensorDockAPIClient obj's underlying member method code with example usage: obj.delete_single(instance_id) without return types