code: def delete_query(self, query_id):
          
          api = self._get_api(device_directory.DefaultApi)
          api.device_query_destroy(query_id)
          return
docs: Delete query in device query service.
  
          :param int query_id: ID of the query to delete (Required)
          :return: void