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/4F8F-EBF8-69D6-433E-880B/sites/daa982a8-3946-43c7-ba0d-c2c5258ac11b/groups/7aeee6de-b25e-44ff-80a2-04827751f01f/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": "c78d7f87-b39c-413a-beb9-8190ab42b6ca" }
<SetPolicyGroupEndpointsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <PolicyId>c78d7f87-b39c-413a-beb9-8190ab42b6ca</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).