docs: def DeleteInstance(r, instance, dry_run=False):
      """
      Deletes an instance.
  
      @type instance: str
      @param instance: the instance to delete
  
      @rtype: int
      @return: job id
      """
  
      return r.request("delete", "/2/instances/%s" % instance,
                       query={"dry-run": dry_run})