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/23A4-418B-9A00-497E-9E2F/sites/10e4da73-f2b4-44ec-9c74-67edb0ddb163/endpoints/deactivate
|
Body Parameters
Additional information for deactivating 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": "be78db30-df3d-4735-a02f-75575385f440,4dca91e0-00f7-438b-8479-be996079c1fd"
}
<SetCommandReOrDeactivateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <EndpointsList>be78db30-df3d-4735-a02f-75575385f440,4dca91e0-00f7-438b-8479-be996079c1fd</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).