I have tried to find out if there is a call to delete users with ReST API. I did not find one so far.
A customer as to delete hundred of users in an environment ...
Use "Verified Answers" if your problem/issue has been solved!
Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it! Learn more
I have tried to find out if there is a call to delete users with ReST API. I did not find one so far.
A customer as to delete hundred of users in an environment ...
Use "Verified Answers" if your problem/issue has been solved!
I can not see anything is the rest documentation, but will try to find out, the undocumented call I used to use doesn't work any more.
One way to stop them logging in would be try settting the inactive flag in the db on ss_principals, I think that should work. Do not set the delete flag as this will not do a proper delete and will leave orphaned records for shares etc.
Thank you Robin. But they want to remove all local data too (personal workspaces) ...
Use "Verified Answers" if your problem/issue has been solved!
So we managed to work it out
DELETE https://<server>/rest/admin/users?name=<userid>