Cancel Discovery

Cancel Discovery

API to cancel discovery of capabilities on agents. This API will cancel the discovery of agents and the agents won't be re-distributed.

Request
URI
POST
https://{api_host}/tcsa/api/v1/snmp/agents/discover/cancel
COPY
Query Parameters
string
snmpIntegration
Optional

The name of the current snmp integration

snmpIntegration example
snmp-integration

Authentication
This operation uses the following authentication methods.
Responses
204

NO CONTENT

Operation doesn't return any data structure

500

INTENRAL SERVER ERROR Error on the server

Returns SnmpError of type(s) application/json
{
    "code": "SNMP_COLLECTOR_API_006",
    "reason": "No Snmp collector running, discovery cannot be performed",
    "status": "404 Not Found"
}
string
code
Optional

This code refers to the internal error codes used in the code base.

string
reason
Optional

This specifies the reason for failure.

string
status
Optional

This specifies the HTTP status code error


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' https://{api_host}/tcsa/api/v1/snmp/agents/discover/cancel