def METHOD_NAME(user, sequence):
    if user.is_not_super_admin():
        raise dci_exc.Unauthorized()
    try:
        flask.g.session.query(models2.JobEvent).filter(
            models2.JobEvent.id >= sequence
        ).delete()
        flask.g.session.commit()
    except Exception as e:
        flask.g.session.rollback()
        raise dci_exc.DCIException(message=str(e), status_code=409)
    return flask.Response(None, 204, content_type="application/json")