Deleting a test

POST https://{{base_url}}/v6/tests/{{testType}}/{{testId}}/delete.json

Deleting a test

Deletes the specified test in ThousandEyes, based on the testId provided in the API request. In order to delete a test, the user attempting the creation must be an Account Admin.

Regular users are blocked from using any of the POST-based methods.

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.

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring