'Delete a pending entry'

@api.response(200, model=base_message_schema)
def delete(self, entry_id, session=None):

    try:
        entry = get_entry_by_id(session, entry_id)
    except NoResultFound:
        raise NotFoundError((u'No    pending    entry    with    ID    %s' % entry_id))
    session.delete(entry)
    return success_response((u'successfully    deleted    entry    with    ID    %s' % entry_id))
