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/0D11-5826-06F1-40AC-A4F5/sites/1927f534-95b5-44ae-b587-d3a1d577b24c/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": "23d0cc69-efef-490b-be5c-af45e763d5be,21bb20c2-0eed-4a7c-ac1a-0f3ff9c0aa6d"
}
<SetCommandReOrDeactivateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <EndpointsList>23d0cc69-efef-490b-be5c-af45e763d5be,21bb20c2-0eed-4a7c-ac1a-0f3ff9c0aa6d</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).