Here are two ways to remove hard inquiries from your credit report if they are not attached to an open line of credit. I also included the Hard Inquiry Letter
Contact the credit bureaus by phone using 24-Hour DFY Guide
Remove using Consumer Financial Protection Bureau (CFPB)- online process (favorite)
Remove using Consumer Financial Protection Bureau (CFPB)- online process -Youtube guidance