()
Updates all existing API keys with new random values
Updates all existing API keys with new random values
Updates all existing API keys with new random values
def reset_all_api_keys():
    """ Updates all existing API keys with new random values """
    keys = db.apikeys.find()
    for key in keys:
        generate_api_key(key["uid"])
def reset_all_api_keys ( ) : keys = db . apikeys . find ( ) for key in keys : generate_api_key ( key [ "uid" ] )