Move device to a different v3 app?

Hi,

Having changed our mind about where we want some devices registered in v3, I’m wondering how best to move them from one application to another.

Would the following commands do it without requiring a restart of the device? If not, are there just some extra flags I need to add to the get command to get all the required session infomation?

I tried the --all flag but it came with a warning and in any case I still need to know if the get/create/delete sequence is the correct way of moving a device.

ttn-lw-cli d get oldAppId devId --name --root-keys --session | ttn-lw-cli d create --application-id newAppId
ttn-lw-cli d delete oldAppId devId

Regards, David.

1 Like