Auth Username Update
Which API should be used to update users auth username. I need to update 300+ records and the people import or transfer from organization to TD is not working for us.
Asked by Alex Oquendo
on Tue 7/25/23 3:46 PM
Sign In to leave feedback or contribute an answer
Answer (1)
This answer has been marked as the accepted answer
Mark Sayers
Tue 7/25/23 3:51 PM
Hello Alex,
The People import cannot update usernames, this is correct. The individual user update endpoint would be needed to update Authentication Usernames only (it cannot update the TDX Usernames). You'd want to first GET each user account so you have all data relating to their account, then send back that full user object with the adjusted auth username so that value gets updated.
Sincerely,
Mark Sayers
Sr Support Consultant, CS
No feedback
What is the individual user update endpoint? Where is it? Why can't I get a clear answer for how to update the auth username record? I have been assured TD can do it if we pay, but when I ask questions for how we can do it I cannot seem to get clear answer for it.
- Alex Oquendo
Tue 7/25/23 4:14 PM
You can find all of your API endpoints related to People here: https://yourdomain/TDWebApi/Home/section/People
The individual update endpoint is the POST one to: https://yourdomain/TDWebApi/api/people/{uid}
You'd want to do a GET of the https://yourdomain/TDWebApi/api/people/{uid} endpoint first, then update the AuthenticationUserName value, then send the full person JSON object back to that https://yourdomain/TDWebApi/api/people/{uid} URL in a POST call. - Mark Sayers Tue 7/25/23 4:50 PM
The individual update endpoint is the POST one to: https://yourdomain/TDWebApi/api/people/{uid}
You'd want to do a GET of the https://yourdomain/TDWebApi/api/people/{uid} endpoint first, then update the AuthenticationUserName value, then send the full person JSON object back to that https://yourdomain/TDWebApi/api/people/{uid} URL in a POST call. - Mark Sayers Tue 7/25/23 4:50 PM