def METHOD_NAME(self, request, mtype=None, this_thread=False, agent=True):
    """Delete entry in LogDB for given request"""
    if mtype:
        self.check(request, mtype)
    else:
        self.check(request)
    if this_thread:
        docs = self.get_by_thread(request, mtype=mtype, detail=False, agent=agent)
    else:
        docs = self.get(request, mtype=mtype, detail=False, agent=agent)
    ids = [r['id'] for r in docs.get('rows', [])]
    res = self.db.bulkDeleteByIDs(ids)
    return res