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

NameDescriptionTypeAdditional 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/C055-45D7-CA58-4783-9F57/sites/87a63121-f463-462e-a3e0-bc13f24d6e75/endpoints/deactivate

Body Parameters

Additional information for deactivating endpoints.

SetCommandReOrDeactivateRequestModel
NameDescriptionTypeAdditional 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": "e780c69a-ac15-4a51-a4d6-44035658aa35,bb0f5741-feb2-4693-b059-c0a35d8c6ed4"
}                    
<SetCommandReOrDeactivateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models">
  <EndpointsList>e780c69a-ac15-4a51-a4d6-44035658aa35,bb0f5741-feb2-4693-b059-c0a35d8c6ed4</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).