Does any way to restore the default input setting

How can I restore the default input setting.
in my case

I use c++ RemoveMapping(); function to remove some action. and I want to restore it in project.so does any way to restore it with code

and how to make switch defferent input setting

You can remove all of your mappings in the editor (ProjectSettings->Input) or you might be able to create a new project and copy the Config->DefaultInput.ini over the top of your current projects DefaultInput.ini

May be I confused u. I use c++ RemoveMapping(); function to remove some action. and I want to restore it in project.so does any way to restore it with code