Update user in okta java sdk


I am using Java SDK to implement okta. I have already implemented create user profile api. Now this question is for updating user profile. When I tried to update any user information like user role, do we have any api available in okta to update the same. If this is not available please provide me the alternative approach.

You should be able to use the setProfile() method to update the target user’s profile.