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/15A0-92CC-C6C1-4067-90FE/sites/df7d175e-b30f-47e2-8ea9-71eacf6947b4/groups/46fbc4f8-4dbc-4182-9357-761669360645/endpoints/policy
|
Body Parameters
Additional information for setting a new policy.
SetPolicyGroupEndpointsRequestModel| Name | Description | Type | Additional Information |
|---|---|---|---|
| PolicyId |
The identifier of the policy that should be applied. |
string |
Required |
Sample Request
{
"PolicyId": "b90c5ea3-ce12-4843-8624-eadb2fcf239c"
}
<SetPolicyGroupEndpointsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <PolicyId>b90c5ea3-ce12-4843-8624-eadb2fcf239c</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).