
HoangT.98235 (Customer) asked a question.
I'm able to retrieve a list of apps from a user from this thread https://support.okta.com/help/s/question/0D50Z00008C3jTNSAZ/how-to-retrieve-application-list-assigned-to-user-using-okta-api?language=en_US
Since the username changed, I need to be able to bulk update the new username to the existing app list. Via above example in the body, I've find and replace all of the old username with the new ones, then ran the API POST method and got the below
{
"errorCode": "E0000003",
"errorSummary": "The request body was not well-formed.",
"errorLink": "E0000003",
"errorId": "oaeHi5lFRQvQleAcHtH3UkKoQ",
"errorCauses": []
}
How to bulk update application list to a user via API?

Hi! May I ask what API call you made to get the above error? Also, interestingly enough, I ran into this in the last 6 months or so and that prompted me to a support ticket. I was informed that using "Custom" for the "Application username format" will actually auto-update the username, whereas using, say, "Okta Username", will not.
Based on my own experience, this has been true. I just checked for a user who underwent a name change just last week and the same is true today. The app that is using a custom mapping has been changed, the one using a pre-selected option did not.
@Mihai Negoita - Okta (Okta, Inc.) any thoughts on why that is?
For all, I can share the details of that ticket as well just in case. The case essentially spoke to this article:
Application Usernames Are Not Being Updated Automatically
I hope this helps! Hopefully this resolves the future need to do the above. Thanks again