code: public ServerGroup addServerGroup(String groupName) {
          ServerGroup group = new ServerGroup();
  
          BasicNameValuePair[] params = {
              new BasicNameValuePair("name", groupName),
              new BasicNameValuePair("profileIdentifier", this._profileName)
          };
          try {
              JSONObject response = new JSONObject(doPost(BASE_SERVERGROUP, params));
              group = getServerGroupFromJSON(response);
          } catch (Exception e) {
              e.printStackTrace();
              return null;
          }
          return group;
      }
docs: Create a new server group
  
  @param groupName name of server group
  @return Created ServerGroup