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/294D-2BF8-54F7-449A-9470/sites/c1695a7d-c973-4210-8cf2-29eaa3d86649/groups/46f7e2e5-ccad-4339-8ea9-fd59335c0151/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": "f754b284-5d5c-4e3b-af25-26cfd3647317"
}                    
<SetPolicyGroupEndpointsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models">
  <PolicyId>f754b284-5d5c-4e3b-af25-26cfd3647317</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).