Update agent to server dynamic test
PATCH {{baseUrl}}/endpoint/tests/dynamic-tests/agent-to-server/:testId?aid=1234
Updates an agent to server endpoint dynamic test. Includes support for enabling and disabling the test.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
aid | number | A unique identifier associated with your account group. You can retrieve your AccountGroupId from the /account-groups endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. |
Request Body
{"interval"=>60, "testName"=>"Test name", "protocol"=>"icmp", "isEnabled"=>true, "tcpProbeMode"=>"auto", "application"=>"webex"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"aid":"1234","_links":{"self":{"href":"https://api.thousandeyes.com/v7/dynamic-tests/agent-to-server/281474976710706"},"testResults":[{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/pathvis"}]},"agentSelectorConfig":{"agentSelectorType":"all-agents","maxMachines":25},"application":"webex","createdDate":"2022-07-17T22:00:54Z","interval":60,"isEnabled":true,"hasPathTraceInSession":true,"hasPing":true,"hasTraceroute":true,"modifiedDate":"2022-07-17T22:00:54Z","networkMeasurements":true,"protocol":"icmp","tcpProbeMode":"auto","testId":"281474976710706","testName":"Test name","labels":[{"labelId":"961","name":"Artem label","isBuiltin":false},{"labelId":"961","name":"Artem label","isBuiltin":false}]}