def METHOD_NAME(
    kind,
):
    if kind not in ["users", "hypers", "all"]:
        raise Error(
            "not_found",
            "Reset vpn connection: Vpn kind " + str(kind) + " not found",
            traceback.format_exc(),
            description_code="vpn_kind_not_found",
        )
    connection_data = {"connected": False, "remote_ip": None, "remote_port": None}
    # Find ip
    if kind in ["users", "all"]:
        with app.app_context():
            r.table("users").has_fields({"vpn": {"wireguard": "Address"}}).update(
                {"vpn": {"wireguard": connection_data}}
            ).run(db.conn)
    if kind in ["remotevpn", "all"]:
        with app.app_context():
            r.table("remotevpn").has_fields({"vpn": {"wireguard": "Address"}}).update(
                {"vpn": {"wireguard": connection_data}}
            ).run(db.conn)
    if kind in ["hypers", "all"]:
        with app.app_context():
            r.table("hypervisors").has_fields({"vpn": {"wireguard": "Address"}}).update(
                {"vpn": {"wireguard": connection_data}}
            ).run(db.conn)
    return True