'Clear all failed entries'

@api.response(200, u'successfully    deleted    failed    entry', model=base_message_schema)
def delete(self, session=None):

    log.debug(u'deleting    all    failed    entries')
    deleted = session.query(FailedEntry).delete()
    return success_response((u'successfully    deleted    %d    failed    entries' % deleted))
