def DelConstEx(enum_id, value, serial, bmask):
    if bmask < 0:
        bmask &= BADADDR
    return idaapi.del_enum_member(enum_id, value, serial, bmask)
Delete a member of enum - a symbolic constant
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/DelConstEx