PUT /service/api/console/gsm/{gsmKey}/sites/{siteId}/groups/{groupId}/endpoints/policy
Applies a new policy to a group of endpoints.
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/4980-78E2-ED18-4BC8-99F7/sites/03d8ffd6-e710-48e8-8130-405e1ff3ef48/groups/168da54b-954e-4eb3-ab10-09acdbe0d4fc/endpoints/policy
|
Body Parameters
Additional information for setting a new policy.
SetPolicyGroupEndpointsRequestModel| Name | Description | Type | Additional Information |
|---|---|---|---|
| PolicyId |
The identifier of the policy that should be applied. |
string |
Required |
Sample Request
{
"PolicyId": "dc6408bf-97e6-4854-b15a-b9bd942b4b4c"
}
<SetPolicyGroupEndpointsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <PolicyId>dc6408bf-97e6-4854-b15a-b9bd942b4b4c</PolicyId> </SetPolicyGroupEndpointsRequestModel>
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).