All version of Python SDK from 13 to 15 have a bug when calling sdk.models.device.delete with an empty string UUID this would trigger a deletion of all accessible devices. If you call it with a too short UUID that matches several devices UUID, this would also trigger the deletion of all these devices.
All version of Python SDK from 13 to 15 have a bug when calling
sdk.models.device.delete
with an empty string UUID this would trigger a deletion of all accessible devices. If you call it with a too short UUID that matches several devices UUID, this would also trigger the deletion of all these devices.Has been fixed on SDK version: https://github.com/balena-io/balena-sdk-python/pull/371 and from 15.0.1 a deletion by UUID will only delete a single device