Wow. I would say I can't believe that you got put through the ringer like that, butI guess I can. That said, it probably wasn't the bes thing for you to have called third parties and certainly put you in a tough spot but I feelfor you. Ok, if you want to file a dismissal, all you have to do is prepare a document called a Voluntary Dismissal and indicate in it that you are dismissing your action (with prejudice if you want it to be over for good). Here is the problem to consider, once you've done that, you may be succeptible to a charge of bad faith filing or otherwise be liable for fees and that assumes that the case was filed by you. If it was filed by him, you cant dismiss it because its not your case (subject to procedural grounds)...you may need to hire an attorney to evaluate where you are at or you may want to "offer" a walk away to the other side if they'll accept it. Its hard to say without knowing where you are at. The above is intended for informational purposes and is not intended to form an attorney client relationship or to constitute legal advice.
You are in a dangerous position. There is no such thing as a standard request for dismissal. Attorneys sometimes file Motions To Dismiss, alleging specific legal grounds for the court to consider, if they apply. There is no canned way to do this.
Unfortunately, these days with all the information that is on the Internet, people get the idea that they can properly represent themselves. Usually, this is untrue. While it may look like there are appropriate-looking documents you can adopt for your own use sometimes, this is rarely true - the documents and the ways and times they are to be used are not straightforward or obvious. I have seen this with people lately trying to defend themselves from foreclosure - they get a few things off the internet, sometimes they even get a little bit of success with the, and then they get the idea that that will allow them to win the case. That is not how it works. The legal system is very complex, attorneys train for many years to be competent at litigation, and even then, there is specialization depending on the kind of case. There is no realistic way that a person who is not legally trained or experienced can properly clean this up.
You need an attorney. Contact the county bar association to see if there is a legal aid agency in your area that might be able to assist you.