Remove Users from the Group

We are migrating from okta.sdk 8.2.3 to 10.3.0. When try to remove the user from the group using groupApi.unassignUserFromGroup(groupId, userId) we are getting and exception Exception occured while removing user from okta groupHTTP 404, Okta E0000007.

In okta.sdk 8.2.3 we used the method oktaGroup.removeUser(user.getId()) to remove the user from that group.

Is there another method to remove the user from the group

1 Like