Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
I had created a new organization to test some random stuff, but now no longer need it. Is there an easy way to delete it? Thanks. Windchill Version 12.1.2.0
Please refer some of the articles
https://www.ptc.com/en/support/article/CS333687
https://www.ptc.com/en/support/article/CS27945
Organization context cannot be deleted.
I have deleted 100s of Organizations using API.
I needed to come up with a way to delete organizations while testing SUMA implementation.
In short, I needed a reset/delete button for trial runs. All worked just fine.
So how were you able to do it using the API?
There is no delete organization API.
I just deleted from the bottom up using generic delete API until there is nothing referencing the org. Then I delete the org.
The trick is understanding the dB well enough that you know the order in which to delete.
I see. What things and in what order do I need to delete things in order to achieve that then?
I mostly just show that things can be done on this site. I don’t give away code. Too many people have, in the past, used code I supplied for commercial use. Therefore, I no longer give code away.
If this is something you really need and you need my help, send me a private message with your work email and I’ll get back to you.
I am very interested in learning about your code😎