POST /service/api/console/gsm/{gsmKey}/sites/{siteId}/groups

Creates a group under a given GSM site.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
gsmKey

The GSM console keycode.

string

Required

siteId

The site identifier.

string

Required

URI Sample(s)

POST
https://unityapi.webrootcloudav.com/service/api/console/gsm/7EF8-B6DD-A755-4BAD-92DF/sites/7609aae2-3422-42d2-952e-92fb213609a2/groups

Body Parameters

Additional information for creating a new group.

CreateGroupRequestModel
NameDescriptionTypeAdditional Information
GroupName

The name of the group. Maximum of 50 characters is allowed.

string

Required

GroupDescription

The description of the group. Maximum of 50 characters is allowed.

string

Required

PolicyId

The id of the policy applied to the group. If not specified, the default policy will be applied.

string

None.

Sample Request

{
  "GroupName": "Test Group",
  "GroupDescription": "Description of test group",
  "PolicyId": "f4d5bebf-bd61-4348-8a64-ccc57be66fba"
}                    
<CreateGroupRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models">
  <GroupDescription>Description of test group</GroupDescription>
  <GroupName>Test Group</GroupName>
  <PolicyId>f4d5bebf-bd61-4348-8a64-ccc57be66fba</PolicyId>
</CreateGroupRequestModel>                    

Response Information

Resource Description

Information about the created group.

CreateGroupResponseModel
NameDescriptionTypeAdditional Information
GroupId

The id of the group that has been created.

string

None.

Sample Response

{
  "GroupId": "01e2b7cd-c579-483d-8028-da6be30b06e7"
}                    
<CreateGroupResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models">
  <GroupId>01e2b7cd-c579-483d-8028-da6be30b06e7</GroupId>
</CreateGroupResponseModel>