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/2971-BB2D-21CC-43D5-AE95/sites/d9428150-8be8-4d57-a629-8c238de3a79d/groups/a4bf49a4-71f8-44f1-b8b6-e40e00971154/endpoints/policy
|
Body Parameters
Additional information for setting a new policy.
SetPolicyGroupEndpointsRequestModelName | Description | Type | Additional Information |
---|---|---|---|
PolicyId |
The identifier of the policy that should be applied. |
string |
Required |
Sample Request
{ "PolicyId": "feb17676-9b1c-43fd-b895-4ba9e65f17b4" }
<SetPolicyGroupEndpointsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <PolicyId>feb17676-9b1c-43fd-b895-4ba9e65f17b4</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).