"To dismiss the action" means to formally end or close a legal case, usually by a judge's decision, without a trial or without reaching a conclusive outcome. Full definition
The court dismissed the action against the vendors because there had been no warranty with regard to the state of the house (as is). (remonline.com)
The lower court dismissed the action on defendant's motion because plaintiff had not alleged receipt of the copyright registration certificate in the works at issue. (blog.internetcases.com)
The motions judge dismissed the action on the basis that it was statute barred. (allanrouben.com)