Hi,
How to update the old devices bucket without having to remove and re-add the device?
Hi,
How to update the old devices bucket without having to remove and re-add the device?
Hi Douglas,
Are you using legacy devices? If yes, make a PUT in your device by editing the bucket id field. It will change the bucket of your device.
PUT /device
{ bucket: “new_bucket_id” }
NOTE: This only works for legacy devices.
Hi Fabiano
So I have some legacy devices (bucket as well), and I wanted to upgrade those devices to immutable bucket.
When trying to update the device to an immutable bucket, I get the error:
Request:
{
"bucket": "62964f5874a7f00011b9ecef"
}
Response:
{
"status": false,
"message": "This is a legacy device, you can only select a legacy bucket"
}
Hey Douglas,
You can’t update Legacy Buckets to Immutable/Mutable by yourself. The only way is by removing the device and adding it back, and you need to reinsert the data you already have in the old bucket.
If keeping your data/token is important for your application, you may want to consider contacting TagoIO support by opening a ticket. Notice that migration through the support system is only available for starter and scale account.
Perfect Vitor.
My fear was just needing to re-register the device, and thus lose your token.
I will open a ticket on my company profile.
Thank you for your support.
A new API route is now available for converting devices:
Great Victor.
I did the tests here, and it was 100%!
Hey Douglas,
Great to know! We quickly understand how bad is to lose your token or device ID, so I think this new route will help in many situations.
Hopefully we can add this option as button in the bucket’s page soon.