If you wish to generate a new API key for any reason, simply login to BigDataCloud and access your Dashboard. 

Underneath your API Key, you are given the option to "Generate (a) New API Key". Simply click on this and follow the instructions. 

Please note, this will disable your existing key and it will take up to 15 minutes for the changes to take effect.