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/74D4-E160-FA66-432B-880E/sites/c12c1300-cb22-4b60-8ec3-dcc71a7b59b0/groups/6b8477be-c761-4906-88fb-a87192cdbd82/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": "486a1d6c-325a-444d-b2bf-64ba2ba5dcce" }
<SetPolicyGroupEndpointsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <PolicyId>486a1d6c-325a-444d-b2bf-64ba2ba5dcce</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).