in the case of private company. only a form 32 filed with the ROC witth in 30 days from pass of board resolution for this perpose. the resignation letter must be attached with form32.
in the case of public company the resignation of director applies large procedure.