API is not showing Groups and Sub groups info after upgraded to version 26

We are hitting the URL [https://xxx.xxx.xxx.com/admin/realms/sso/group-by-path/GROUPNAME]
It is suppose to return all the group and its subgroups, it was working in keycloak version 22. We have upgraded to keycloak version 26 and we are getting the subgroups as null.
Below is the response form the version 26 :

Below is the response from version 22:

Can anyone help to fix the issue?
Thank you!

sub groups have been removed from that request to improve performance you need an separate query to get the subgroups of a group now

Thank you for your response.
I checked the restful API documentation and I didn’t find the query.
Could you please help us to know where we can find the query? Any documenation or link

GET http://localhost:8080/admin/realms/master/groups/<parent-groupId>/children?first=0&max=10

Thank you very much :slightly_smiling_face: