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/7323-A3A5-5446-4C84-8B73/sites/85ea9df8-f28a-4a73-9f0b-ea6abae3caeb/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": "7a01a729-a095-46f5-9309-3e0ec986f402"
}                    
<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>7a01a729-a095-46f5-9309-3e0ec986f402</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": "8a8887b1-6df7-4346-abcb-4095b0018267"
}                    
<CreateGroupResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models">
  <GroupId>8a8887b1-6df7-4346-abcb-4095b0018267</GroupId>
</CreateGroupResponseModel>