POST /service/api/console/gsm/{gsmKey}/sites/{siteId}/groups
Creates a group under a given GSM site.
Request Information
URI Parameters
Name | Description | Type | Additional 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/E8A9-7D94-3AF8-4DC9-9408/sites/0d0c2f2d-9636-48ee-8fdc-380f7caa171b/groups
|
Body Parameters
Additional information for creating a new group.
CreateGroupRequestModelName | Description | Type | Additional 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": "ce789838-a4d7-44d1-b9e7-e98baee321c1" }
<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>ce789838-a4d7-44d1-b9e7-e98baee321c1</PolicyId> </CreateGroupRequestModel>
Response Information
Resource Description
Information about the created group.
CreateGroupResponseModelName | Description | Type | Additional Information |
---|---|---|---|
GroupId |
The id of the group that has been created. |
string |
None. |
Sample Response
{ "GroupId": "70cdb9b0-9490-4e16-82ad-c41e50d5eb95" }
<CreateGroupResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <GroupId>70cdb9b0-9490-4e16-82ad-c41e50d5eb95</GroupId> </CreateGroupResponseModel>