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/1DB2-FBF5-1F2E-457F-9EAF/sites/45d8fca4-1a1c-44e4-b01e-c663a502c7cd/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": "4b914707-e792-4e12-8005-463f159a9bd4,72341aca-8160-4a5a-b60b-fe19ec7484db" }
<SetCommandReOrDeactivateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <EndpointsList>4b914707-e792-4e12-8005-463f159a9bd4,72341aca-8160-4a5a-b60b-fe19ec7484db</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).