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/18FF-B126-A11C-4F68-8CEC/sites/b4546994-8f43-4edb-a76e-f76defe297d3/groups/1db55186-0b28-4c03-b92c-421f83c666e0/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": "7ca36446-e38e-4e44-81af-1e19e66da2ce"
}
<SetPolicyGroupEndpointsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <PolicyId>7ca36446-e38e-4e44-81af-1e19e66da2ce</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).