Generally, dismissing a legal case in India isn't easy , but it is possible under particular circumstances. This process is governed by the Criminal Procedure Code and involves the consent of the magistrate. https://panchanandshaw.com/blog/can-divorce-be-filed-without-consent-of-wife/