PUT /service/api/console/gsm/{gsmKey}/sites/{siteId}/endpoints
Moves endpoints to a different group.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
gsmKey |
The GSM console keycode. |
string |
Required |
siteId |
The site identifier. |
string |
Required |
URI Sample(s)
PUT
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/0D40-0117-6E9C-40C6-92FF/sites/0944c8c9-1ea7-4357-98a4-0364a4775639/endpoints
|
Body Parameters
Additional information for setting a group for endpoints.
Either use EndpointsList or SourceGroupId to specify the endpoints being moved. If both are specified, EndpointsList is used. If both are left empty, all endpoints on the site are moved to the group specified by TargetGroupId.
SetGroupEndpointsRequestModelName | Description | Type | Additional Information |
---|---|---|---|
EndpointsList |
Comma delimited string of endpoint ids. The endpoints are moved to the group specified by TargetGroupId. |
string |
None. |
SourceGroupId |
The id of the group where endpoints are moved from. |
string |
None. |
TargetGroupId |
The id of the group where endpoints are moved to. |
string |
Required |
Inheritance |
Value defining which policy should take effect.
|
integer |
None. |
Sample Request
{ "EndpointsList": null, "SourceGroupId": "2460a2f5-aa40-4ccc-8eff-a239fdbfdd49", "TargetGroupId": "5881605a-51c2-4bdd-9f5f-363fadbdc655", "Inheritance": 1 }
<SetGroupEndpointsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <EndpointsList i:nil="true" /> <Inheritance>1</Inheritance> <SourceGroupId>2460a2f5-aa40-4ccc-8eff-a239fdbfdd49</SourceGroupId> <TargetGroupId>5881605a-51c2-4bdd-9f5f-363fadbdc655</TargetGroupId> </SetGroupEndpointsRequestModel>
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).