The resolution was passed by a majority of the board of directors, so from that standpoint it was lawful. However, generally, a resolution must be made at a meeting of the board, and all directors are entitled to reasonable notice of the meeting. The exact timing of notice and the meeting is usually specified in the corporate bylaws.
Assuming that you did not have reasonable notice as required, then the resolution could still be passed if the circumstances were an emergency (such as a belief by the other directors that you were misappropriating corporate assets).
So, it could be that the action was legal, depending upon the circumstances. In order to have the issue resolved you would have to demand that your name be restored to the account, and if your fellow directors refuse, then you would need to sue for injunctive and declaratory relief. This would be a derivative shareholder action against the directors for violating the bylaws, by not providing notice. However, it will require not much for the other directors to cure this defect by calling a board meeting and ratifying their prior action.
In effect, you have been booted out of the company for all purposes other than shareholder votes on fundamental corporate change (merger, acquisition, consolidation, dissolution, appraisal rights).
You need to try to discuss the matter amicably with your associates, and if you can't get them to reinstate you, then you should request that they buy you out. If they won't, then you may have to sue the company to force the issue. Ordinarily, you can't force the company to buy back your shares. But, in this case, your shares aren't marketable to anyone other than the other shareholders, so by refusing to purchase, the majority shareholders are injuring the rights of the minority, which is a breach of fiduciary.