Is there a rest api call for me to use to change the username of a user?
You can use the
Update User API to update the user’s profile - https://developer.okta.com/docs/api/resources/users#update-user
The username of a user is the
profile.login property of the
profile object - https://developer.okta.com/docs/api/resources/users#profile-object
You can pass the updated profile object to
Update user API and it should work.
got it working ty tho vijet