'Delete failed entry by ID'

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

    try:
        failed_entry = session.query(FailedEntry).filter((FailedEntry.id == failed_entry_id)).one()
    except NoResultFound:
        raise NotFoundError((u'could    not    find    entry    with    ID    %i' % failed_entry_id))
    log.debug((u'deleting    failed    entry:    "%s"' % failed_entry.title))
    session.delete(failed_entry)
    return success_response((u'successfully    delete    failed    entry    %d' % failed_entry_id))
