RPC API Developer's Guide

Delete a Collector

Note that LogicMonitor does have an available REST API equivalent for this API call.

You can use LogicMonitor's RPC deleteAgent API to remove a collector from your LogicMonitor account.  This will not uninstall the collector from the device it is installed on.

Note: As with all our API calls, authentication is required.

 

deleteAgent

URL:
https://accountName.logicmonitor.com/santaba/rpc/deleteAgent?c=accountName&u=user&p=password&id=123

 

Response Parameters: You can include the following as query parameters for a deleteAgent request:

Parameter

Type

Description

id Integer Required. The unique id of the collector that will be removed.

 

Example

Request:
curl "https://apiAccount.logicmonitor.com/santaba/rpc/deleteAgent?c=apiAccount&u=apiUser&p=example&id=133" 
Response:
{
  "status": 200,
  "errmsg": "OK"
}