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/6E77-F030-40B3-4D26-A548/sites/c3efea61-e609-49f7-a9db-1a75205e8a40/groups/ba4701c5-5e6b-4c8b-94e8-69326d63f347/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": "c0c759c2-6361-4159-b32c-939fb8ccd3ce"
}                    
<SetPolicyGroupEndpointsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models">
  <PolicyId>c0c759c2-6361-4159-b32c-939fb8ccd3ce</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).