Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling sdk.models.device.delete('') will delete all devices the user has access to. #372

Open
otaviojacobi opened this issue Oct 17, 2024 · 1 comment

Comments

@otaviojacobi
Copy link
Contributor

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: #371 and from 15.0.1 a deletion by UUID will only delete a single device

@thgreasi
Copy link
Member

Should we close this now @otaviojacobi ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants