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

NameDescriptionTypeAdditional 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/12CA-FFEC-377D-400B-BE28/sites/5a0d1266-21e7-4859-adc5-9102b23a327e/groups/89f7798f-6a23-46df-8304-a75381f3572c/endpoints/policy

Body Parameters

Additional information for setting a new policy.

SetPolicyGroupEndpointsRequestModel
NameDescriptionTypeAdditional Information
PolicyId

The identifier of the policy that should be applied.

string

Required

Sample Request

{
  "PolicyId": "a4721fc8-277f-4eb4-9ad8-a9a35317411a"
}                    
<SetPolicyGroupEndpointsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models">
  <PolicyId>a4721fc8-277f-4eb4-9ad8-a9a35317411a</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).