I navigate to a certain page in my app with a query parameter. After I get the parameter from the URL I want to delete it, ideally I would have this:
You can assign null to a specific queryParam :
null
this.router.navigate([], {queryParams: {page: null}, queryParamsHandling: 'merge'});