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
Restoring Deleted Applications #1121
Comments
Related to #1120 |
We'd also need to check if
When restoring the application, we should also consider that the deleted application may have had other members and API keys associated to it. The caller will need to indicate what to do with those, so this may actually require a dedicated API call. |
Turns out we already have another issue for this: #604 |
Looks like I forgot to close this issue before. This is being tracked in #604. |
This is implemented, and will land in |
This is happening to me, but for a gateway. |
This is an expected error if a regular user removed a gateway and then a user tries to register a gateway with the same ID. When deleting a gateway, the EUI is released, but the ID remains reserved. See also https://www.thethingsindustries.com/docs/reference/id-eui-constraints/#deleted-entities Only when an admin user "purges" the gateway, the ID is released. |
Summary
When you delete an application and decides to add it back, if fails because it complains that the ID already exists.
Steps to Reproduce
What do you see now?
What do you want to see instead?
Successfullly add back the application
Environment
amazon linux using TTN CLI and Postman using API Call
How do you propose to implement this?
When user try to insert a deleted application, update the deleted flag to false
Can you do this yourself and submit a Pull Request?
...
The text was updated successfully, but these errors were encountered: