POST /service/api/console/gsm/{gsmKey}/sites/{siteId}/endpoints/deactivate
Deactivates a list of endpoints, or all endpoints on a site.
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/C1E4-A410-2451-4C52-BD2E/sites/bf104ab4-3eaa-44b0-9f07-3a1055318e9b/endpoints/deactivate
|
Body Parameters
Additional information for deactivating endpoints.
SetCommandReOrDeactivateRequestModelName | 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": "0320d772-fee5-4fdc-9a2c-fa395e3b0ca2,22898602-8f9a-4fbe-b967-3cb7fc4ee42e" }
<SetCommandReOrDeactivateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <EndpointsList>0320d772-fee5-4fdc-9a2c-fa395e3b0ca2,22898602-8f9a-4fbe-b967-3cb7fc4ee42e</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).