Update FTP Server test

PUT {{baseUrl}}/tests/ftp-server/:testId?aid=1234&expand=agent,monitor

Updates a FTP Server test. The target test cannot be a live share or saved event. This method requires Account Admin permissions.

Request Params

KeyDatatypeRequiredDescription
aidnumberA 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.
expandstringOptional parameter on whether or not to expand the test sub-resources. By default no expansion is going to take place if the query parameter is not present. If the user wishes to expand the agents sub-resource, they need to pass the ?expand=agent query.

Request Body

{"value"=>"<Error: Could not resolve allOf schema"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;interval&quot;:60,&quot;requestType&quot;:&quot;download&quot;,&quot;url&quot;:&quot;www.thousandeyes.com&quot;,&quot;username&quot;:&quot;username&quot;,&quot;alertsEnabled&quot;:true,&quot;enabled&quot;:true,&quot;alertRules&quot;:[{&quot;ruleId&quot;:&quot;127094&quot;,&quot;ruleName&quot;:&quot;The End of the Internet&quot;,&quot;expression&quot;:&quot;((hops((hopDelay \u003e= 100 ms))))&quot;,&quot;direction&quot;:&quot;to-target&quot;,&quot;isDefault&quot;:true,&quot;alertType&quot;:&quot;http-server&quot;,&quot;minimumSources&quot;:10,&quot;minimumSourcesPct&quot;:99,&quot;roundsViolatingMode&quot;:&quot;exact&quot;,&quot;roundsViolatingOutOf&quot;:5,&quot;roundsViolatingRequired&quot;:2,&quot;sensitivityLevel&quot;:&quot;medium&quot;,&quot;severity&quot;:&quot;major&quot;},{&quot;ruleId&quot;:&quot;127094&quot;,&quot;ruleName&quot;:&quot;The End of the Internet&quot;,&quot;expression&quot;:&quot;((hops((hopDelay \u003e= 100 ms))))&quot;,&quot;direction&quot;:&quot;to-target&quot;,&quot;isDefault&quot;:true,&quot;alertType&quot;:&quot;http-server&quot;,&quot;minimumSources&quot;:10,&quot;minimumSourcesPct&quot;:99,&quot;roundsViolatingMode&quot;:&quot;exact&quot;,&quot;roundsViolatingOutOf&quot;:5,&quot;roundsViolatingRequired&quot;:2,&quot;sensitivityLevel&quot;:&quot;medium&quot;,&quot;severity&quot;:&quot;major&quot;}],&quot;createdBy&quot;:&quot;user@user.com&quot;,&quot;createdDate&quot;:&quot;2022-07-17T22:00:54Z&quot;,&quot;description&quot;:&quot;ThousandEyes Test&quot;,&quot;liveShare&quot;:false,&quot;modifiedBy&quot;:&quot;user@user.com&quot;,&quot;modifiedDate&quot;:&quot;2022-07-17T22:00:54Z&quot;,&quot;savedEvent&quot;:false,&quot;testId&quot;:&quot;281474976710706&quot;,&quot;testName&quot;:&quot;ThousandEyes Test&quot;,&quot;type&quot;:&quot;agent-to-server&quot;,&quot;_links&quot;:{&quot;self&quot;:{&quot;href&quot;:&quot;https://api.thousandeyes.com/v7/tests/{type}/281474976710706&quot;},&quot;testResults&quot;:[{&quot;href&quot;:&quot;https://api.thousandeyes.com/v7/test-results/281474976710706/network&quot;},{&quot;href&quot;:&quot;https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis&quot;}]},&quot;labels&quot;:[{&quot;labelId&quot;:&quot;961&quot;,&quot;name&quot;:&quot;Artem label&quot;,&quot;isBuiltin&quot;:false},{&quot;labelId&quot;:&quot;961&quot;,&quot;name&quot;:&quot;Artem label&quot;,&quot;isBuiltin&quot;:false}],&quot;sharedWithAccounts&quot;:[{&quot;aid&quot;:&quot;1234&quot;,&quot;name&quot;:&quot;Account name&quot;},{&quot;aid&quot;:&quot;1234&quot;,&quot;name&quot;:&quot;Account name&quot;}],&quot;bandwidthMeasurements&quot;:true,&quot;downloadLimit&quot;:1048576,&quot;ftpTargetTime&quot;:4477,&quot;ftpTimeLimit&quot;:10,&quot;mtuMeasurements&quot;:false,&quot;networkMeasurements&quot;:true,&quot;numPathTraces&quot;:3,&quot;pathTraceMode&quot;:&quot;classic&quot;,&quot;probeMode&quot;:&quot;auto&quot;,&quot;protocol&quot;:&quot;tcp&quot;,&quot;useActiveFtp&quot;:false,&quot;useExplicitFtps&quot;:false,&quot;fixedPacketRate&quot;:50,&quot;ipv6Policy&quot;:&quot;use-agent-policy&quot;,&quot;bgpMeasurements&quot;:true,&quot;usePublicBgp&quot;:true,&quot;monitors&quot;:[{&quot;countryId&quot;:&quot;GB&quot;,&quot;monitorId&quot;:&quot;1234&quot;,&quot;ipAddress&quot;:&quot;4.69.184.193&quot;,&quot;network&quot;:&quot;Level 3 Communications, Inc. (AS 3356)&quot;,&quot;monitorType&quot;:&quot;public&quot;,&quot;monitorName&quot;:&quot;Seattle, WA&quot;},{&quot;countryId&quot;:&quot;GB&quot;,&quot;monitorId&quot;:&quot;1234&quot;,&quot;ipAddress&quot;:&quot;4.69.184.193&quot;,&quot;network&quot;:&quot;Level 3 Communications, Inc. (AS 3356)&quot;,&quot;monitorType&quot;:&quot;public&quot;,&quot;monitorName&quot;:&quot;Seattle, WA&quot;}],&quot;agents&quot;:[{&quot;agentType&quot;:&quot;enterprise-cluster&quot;,&quot;ipAddresses&quot;:[&quot;99.139.65.220&quot;,&quot;9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce&quot;],&quot;publicIpAddresses&quot;:[&quot;192.168.1.78&quot;,&quot;f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c&quot;],&quot;network&quot;:&quot;AT\u0026T Services, Inc. (AS 7018)&quot;,&quot;agentId&quot;:&quot;281474976710706&quot;,&quot;agentName&quot;:&quot;thousandeyes-stg-va-254&quot;,&quot;location&quot;:&quot;San Francisco Bay Area&quot;,&quot;countryId&quot;:&quot;US&quot;,&quot;enabled&quot;:true,&quot;prefix&quot;:&quot;99.128.0.0/11&quot;,&quot;verifySslCertificates&quot;:true},{&quot;agentType&quot;:&quot;enterprise-cluster&quot;,&quot;ipAddresses&quot;:[&quot;99.139.65.220&quot;,&quot;9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce&quot;],&quot;publicIpAddresses&quot;:[&quot;192.168.1.78&quot;,&quot;f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c&quot;],&quot;network&quot;:&quot;AT\u0026T Services, Inc. (AS 7018)&quot;,&quot;agentId&quot;:&quot;281474976710706&quot;,&quot;agentName&quot;:&quot;thousandeyes-stg-va-254&quot;,&quot;location&quot;:&quot;San Francisco Bay Area&quot;,&quot;countryId&quot;:&quot;US&quot;,&quot;enabled&quot;:true,&quot;prefix&quot;:&quot;99.128.0.0/11&quot;,&quot;verifySslCertificates&quot;:true}]}