Is there a way to switch between two keys?

I’m using the generateSecuredApiKey method to create three API keys so users can switch between three search modes.

Is there a way to change the API key that instantsearch uses using javascript other than initialization?

Thank you!

Hi @jontan it’s not possible to do so and it’s not something that we’ve planned to do in the short term. I opened an issue on github so that you can follow up and maybe give us more input.

@jontan what kind of parameters are you switching with the keys? Can’t this just be changes using algolia parameters?