Create a New Group
POST {{baseUrl}}/.api/api.svc/usergroups/add?groupname={{$randomDepartment}}
This endpoint is used to create a group.
Request Params
| Key | Datatype | Required | Description |
| groupname
| string | | (Required) - String
The name of the group to be created as it will appear in the digital workplace. |
| spaceId
| null | | GUID
The object ID of the space where the group should be created, if applicable. |
HEADERS
| Key | Datatype | Required | Description |
| Accept
| string | | The type of response data to request. By default this endpoint will respond with XML.
The options are:
- application/json
- application/xml |
|
Accept
| string | | |
RESPONSES
status: OK
"\u003cIglooApiResponse xmlns=\"http://schemas.iglooplatform.com/Igloo.Old.Common\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"\u003e\n \u003cminRequestPeriod\u003e0\u003c/minRequestPeriod\u003e\n \u003crequestSupportCode\u003e637727599772233104\u003c/requestSupportCode\u003e\n \u003cdictionary i:nil=\"true\" xmlns:a=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\"/\u003e\n \u003cresponse i:type=\"userGroup\"\u003e\n \u003cid\u003e{{$randomUUID}}\u003c/id\u003e\n \u003chref/\u003e\n \u003cnavType\u003eNone\u003c/navType\u003e\n \u003ctype\u003eCustom\u003c/type\u003e\n \u003ccommunityId\u003e{{$randomUUID}}\u003c/communityId\u003e\n \u003cname\u003eAutomotive\u003c/name\u003e\n \u003cspaceId i:nil=\"true\"/\u003e\n \u003cnumMembers\u003e0\u003c/numMembers\u003e\n \u003cldapSynced\u003efalse\u003c/ldapSynced\u003e\n \u003cspaceTitle/\u003e\n \u003c/response\u003e\n\u003c/IglooApiResponse\u003e"