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/1254-DCF0-4186-4005-8EC6/sites/5d2bc449-1928-4ebc-ba0e-4e681267e3a3/groups/12301e77-3f6c-445e-81a0-91c92a917483/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": "71a23d3d-ec25-455b-8fae-822b95638f11"
}
<SetPolicyGroupEndpointsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <PolicyId>71a23d3d-ec25-455b-8fae-822b95638f11</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).