Updating a test
POST https://{{base_url}}/v6/tests/{{testType}}/{{testId}}/update.json
Updating a test
Updates a test in ThousandEyes, based on properties provided in the POST data. In order to edit a test, the user attempting the creation must be an Account Admin, and the target test cannot be a live share or saved event.
Regular users are blocked from using any of the POST-based methods.
Note: When creating or updating a test and assigning alert rules, that alert rules are based on specific measurements being available. For example, when creating an HTTP server test with network measurements disabled, you will not be able to assign any alert rules that are based on network metrics. The same applies to BGP measurements.
Optional (Querystring) Parameters
- aid={aid} optional and requires the user to be assigned to the target account group, specifies the account group context of the request, obtained from the /account-groups endpoint. Specifying this parameter without the user being assigned to the target account will result in an error response. See Account group context for more information
Request
- {testType} corresponds to any of the following options:
- bgp
- agent-to-server
- agent-to-agent
- http-server
- page-load
- transactions
- web-transactions
- ftp-server
- dns-trace
- dns-server
- dns-dnssec
- sip-server
- voice (RTP Stream)
- {testId} corresponds to a testId of the type specified by {testType}, see the test list endpoint for a listing of tests
- Request body should contain fields to be set during creation. See the Test Metadata page for fields available during test creation.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |