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/E13F-360A-4B9A-46F0-A2BA/sites/c8638fdb-8054-4982-8ec6-5bc33e724737/groups/1ae91217-8969-4408-80e7-7a715d2e7d5d/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": "a774e436-7221-4a39-9ef7-c483a95c733c"
}                    
<SetPolicyGroupEndpointsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models">
  <PolicyId>a774e436-7221-4a39-9ef7-c483a95c733c</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).