User Rest to merge users?
Hi there,
I've noticed that there are a lot of posts that have to do with maintaining the list of requesters in SDP. The consensus is to not use the database to fix things as there are a lot of things that could be missed, along with some caching.
I don't want to have to manually go through all of the requesters as we have nearly a thousand of them and I have better things to do than constantly maintain this list. :-) Is there a way that I can use the API's in combination with scripting to manage things? What I am thinking is I could query the requester table in the database (query only, no modification here) from within the script to get a list of the users and some of their attributes. Then I could put some logic into a script that could work through the list looking for duplicates (we have some strangeness with email addresses being used in place of usernames when a requester puts in a ticket, along with married names, among other things). Then once the duplicates have been found, if there was an API call my script could make on particular records I could then either disable, merge or delete, depending on what was required by the API.
So, is there an API call that I could make that could edit or delete existing requester records?
Michael