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/9818-1D4F-9F6F-43A1-A49D/sites/8d75abe0-5c23-4787-995e-491193702e3e/groups
|
Body Parameters
Additional information for creating a new group.
CreateGroupRequestModel| Name | 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": "b2bcf277-cf02-41f3-80cf-fc465a1e4e01"
}
<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>b2bcf277-cf02-41f3-80cf-fc465a1e4e01</PolicyId> </CreateGroupRequestModel>
Response Information
Resource Description
Information about the created group.
CreateGroupResponseModel| Name | Description | Type | Additional Information |
|---|---|---|---|
| GroupId |
The id of the group that has been created. |
string |
None. |
Sample Response
{
"GroupId": "c923c0ec-76f6-40f3-bc2b-66a30835fb71"
}
<CreateGroupResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <GroupId>c923c0ec-76f6-40f3-bc2b-66a30835fb71</GroupId> </CreateGroupResponseModel>