Create A Subgroup in GitLab Using API

Using GitLab CLI

Get the parent group id

$ glab api groups/Sestolab | jshon -e id

Create a subgroup

$ glab api groups -f path=apps -f name=Applications -f parent_id=2918423 -f visibility=public

Reference

Groups API | GitLab