def set_achievement_disabled(aid, disabled):

    return update_achievement(aid, {"disabled": disabled})
Updates a achievement's availability.
dataset/ETHPy150Open IceCTF/ctf-platform/api/api/achievement.py/set_achievement_disabled