How to remove parameters in URL Address?


Long story short in my app the user receives an email notification which has hyperlink to open a certain record for a given id number. It looks something like this:

The question I have is once the user opens the record is it possible to change the URL through ionic? I would like to change the url after opening and remove the parameter so it looks like this

I can retrieve the URL through this.platform.url() but I don’t know how to change it.