Message-ID: <1635044163.15835.1614958371321.JavaMail.confluence@wiki> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_15834_720513067.1614958371320" ------=_Part_15834_720513067.1614958371320 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Create a new 'send' group.
if(tmClient.addGroup("My Group")) =09System.out.println("'My Group' added with success.");=20
Arguments:
String group:
the name of the group to be created. Up to 25 alpha-numeric characters, = and '-' are allowed. The name cannot consist of only digits.
Returns:
an true boolean if the group is added with success
Specific error codes:
Code | Meaning |
---|---|
0 | DEPRECATED. |
1 | A group with that name already exists (group nam= es are not case-sensitive). |
2 | The group name is invalid. Only up to 25 alph= a-numeric characters, and '-' are allowed. The name cannot consist of only = digits, at least one alpha character or '-' must be present. |
error code 404 is reported if the group does not exist; error code 400 i= s reported if the group name was not specified. See General error codes.