PUT /service/api/console/gsm/{gsmKey}/sites/{siteId}/groups/{groupId}
Edits 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 |
| groupId |
The group identifier. |
string |
Required |
URI Sample(s)
|
PUT
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/F8FE-B9F3-1BAE-4F01-BD27/sites/f7a3a1f6-3182-4b60-b42c-405c2bc5f75f/groups/98f71099-1e4c-45d9-824c-f7a971405ccd
|
Body Parameters
Additional information for editing a group.
EditGroupRequestModel| Name | Description | Type | Additional Information |
|---|---|---|---|
| Inheritance |
Value defining which policy should take effect, if a policy is specified.
|
integer |
None. |
| GroupName |
The name of the group. |
string |
None. |
| GroupDescription |
The description of the group. |
string |
None. |
| PolicyId |
The id of the policy that should be applied to the group. |
string |
None. |
Sample Request
{
"Inheritance": 0,
"GroupName": "Renamed test group",
"GroupDescription": "Description of renamed test group",
"PolicyId": "84a005f1-7577-445a-874c-157e2d3f1c1d"
}
<EditGroupRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <GroupDescription>Description of renamed test group</GroupDescription> <GroupName>Renamed test group</GroupName> <Inheritance>0</Inheritance> <PolicyId>84a005f1-7577-445a-874c-157e2d3f1c1d</PolicyId> </EditGroupRequestModel>
Response Information
Resource Description
None. If successful, this API action does not return any data and the response status code will be 204 (No Content).