public ApiResponse createGroup ( String groupPath , String groupTitle , String groupName ) { Map < String , Object > data = new HashMap < String , Object > ( ) ; data . put ( "type" , "group" ) ; data . put ( "path" , groupPath ) ; if ( groupTitle != null ) { data . put ( "title" , groupTitle ) ; } if ( groupName != null ) { data . put ( "name" , groupName ) ; } return apiRequest ( HttpMethod . POST , null , data , organizationId , applicationId , "groups" ) ; }
Create a group with a path title and name