Updating Application User Name with an API Skip to main content
https://support.okta.com/help/answers?id=9062a000000qutnqa0&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
GAB AdminGAB Admin 

Updating Application User Name with an API

We are using APIs for creating and updating users in Okta and Cornerstone.  If we update the Okta User Name, the  profile updates correctly in both Okta and Cornerstone.  We create a session from another application via the Authentication API.  When we go to cornerstone,  it is still trying to use the previous Okta User Name.  If I run an application usage report,  I see that the Application User Name is still the previous value.  How do I update the Application User Name via API?  
Adrian MocanuAdrian Mocanu (Okta, Inc.)
Thank you for reaching out to Okta Support, my name is Adrian and I'll be handling your case.
I'm not sure I fully understand what you're trying to achieve through the other application and the new session. If you're trying to update Application Username through Okta API then you can use the Update App Profile for Assigned User call to do it. ({{url}}/api/v1/apps/{{appId}}/users/{{userId}})
https://developer.okta.com/docs/api/resources/apps.html#update-application-credentials-for-assigned-user