switch api key