I have the need to deploy temporary networks from time to time that start with the same config and get disposed when the network is not needed any more.
Here is what I do (completely with the API) when I need this temp-network:
Get the organization networks.
Delete the network
Create a new network
Claim the devices to the new network
Configure all needed parameters
This all works like a charm. But:
The device that was in the previous network doesn't come online until I do a factory reset on that device.
Is there a way to make it work that I don't need a factory reset in this workflow? I assume that this problem can be caused by the fact that the moment I delete the old network, the devices are already offline. This is something I can not control here.