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/5BCC-24AF-E62A-442A-81FA/sites/fb7ba40b-913b-410c-97fd-e34bbfb9c5a3/groups/a7320fc8-bd61-4c65-b3eb-cd966523f78d/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": "c6d36cf8-96e0-4b75-9398-e5b94e7c1d00"
}
<SetPolicyGroupEndpointsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <PolicyId>c6d36cf8-96e0-4b75-9398-e5b94e7c1d00</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).