Uninstall Agent

Uninstall Agent

Uninstall app monitoring agent from the specified resource

Request
URI
DELETE
https://{api_host}/suite-api/api/applications/agents
COPY
Request Body

Credentials of resources from which the agent must be removed

resource-credentials of type(s) application/json
Required

Show optional properties

{
    "resourceCredentials": [
        {
            "resourceId": "string",
            "username": "string",
            "password": "string"
        }
    ]
}
"{\n  \"resourceCredentials\" : [ {\n    \"resourceId\" : \"4feba95e-e3cb-4c89-9f28-ba2cbe52d004\",\n    \"username\" : \"vm1_username\",\n    \"password\" : \"vm1_password\",\n    \"addRuntimeUser\" : true\n  }, {\n    \"resourceId\" : \"976cdbca-07aa-4b9e-a860-9711cd7529d1\",\n    \"username\" : \"vm2_username\",\n    \"password\" : \"vm2_password\",\n    \"addRuntimeUser\" : true\n  } ],\n  \"retainTelegrafConf\" : true\n}"
array of object
resourceCredentials
Required

List of resource credentials

boolean
retainTelegrafConf
Optional

Flag that indicates to retain telegraf to preserve configuration, default value is true

Authentication
This operation uses the following authentication methods.
Responses
200

The result of task status

Returns agent-task-statuses of type(s) application/json
"No Custom Example is Available"
array of object
taskStatuses
Required

Collection of agent task statuses


Code Samples
COPY
                    curl -X DELETE -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"resourceCredentials":["object"]}' https://{api_host}/suite-api/api/applications/agents