Managing Multiple IoT Cloud Devices - Same Software

Anther solution can be the one presented here:

https://forum.arduino.cc/t/arduino-iot-cloud-disconnects/1030704/2?u=jarriaga

I have done this to the wifi SSID and PASS but you can adapt to de Device ID