POST /service/api/console/gsm/{gsmKey}/sites/{siteId}/endpoints/reactivate
Reactivates a list of endpoints, or all endpoints on a site.
This command is only applied to deactivated endpoints.
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)
|
POST
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/CBE7-ADAE-AEC9-49CC-A167/sites/ba2f1e76-9a4f-4fc8-a2d0-4ec271c5c3ab/endpoints/reactivate
|
Body Parameters
Additional information for reactivating endpoints.
SetCommandReOrDeactivateRequestModel| Name | Description | Type | Additional Information |
|---|---|---|---|
| EndpointsList |
Comma delimited string of endpoint ids. If not specified, the command gets applied to all endpoints on the site. |
string |
None. |
Sample Request
{
"EndpointsList": "a1d3d42b-1882-4172-90d0-571180e39a0e,24cb7086-18a7-4895-8bde-5faa781c9b09"
}
<SetCommandReOrDeactivateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <EndpointsList>a1d3d42b-1882-4172-90d0-571180e39a0e,24cb7086-18a7-4895-8bde-5faa781c9b09</EndpointsList> </SetCommandReOrDeactivateRequestModel>
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).