diff --git a/modules/dxp/apps/scim/scim-rest-impl/src/main/java/com/liferay/scim/rest/internal/manager/UserManagerImpl.java b/modules/dxp/apps/scim/scim-rest-impl/src/main/java/com/liferay/scim/rest/internal/manager/UserManagerImpl.java index 0e6902ad93fca8..5af1659974b2d8 100644 --- a/modules/dxp/apps/scim/scim-rest-impl/src/main/java/com/liferay/scim/rest/internal/manager/UserManagerImpl.java +++ b/modules/dxp/apps/scim/scim-rest-impl/src/main/java/com/liferay/scim/rest/internal/manager/UserManagerImpl.java @@ -142,6 +142,7 @@ public void deleteGroup(String groupId) () -> { _userService.setUserGroupUsers( GetterUtil.getLong(groupId), new long[0]); + _userGroupService.deleteUserGroup( GetterUtil.getLong(groupId));