{"type":"api","title":"Delete FTP Server test","meta":{"id":"/apps/pubhub/media/000-v7-apis/ff6e14c265afac5403651f22656824120ef8f3d0/78f45443-a63d-31b5-a066-5ca5d2bfbb18","info":{"version":"7.0.89","title":"Tests API","description":"**Note:** The Page Load Tests, API Tests, and Web Transaction Tests APIs are not available for ThousandEyes for Government instance.\n\nThis API allows you to list, create, edit, and delete Network and Application Synthetics tests.\n"},"security":[{"BearerAuth":[]}],"tags":[{"name":"Tests","description":"Get all tests"},{"name":"Agent to Server Tests","description":"Agent to Server test management operations"},{"name":"Agent to Agent Tests","description":"Agent to Agent test management operations"},{"name":"BGP Tests","description":"BGP test management operations"},{"name":"DNS Server Tests","description":"DNS Server test management operations"},{"name":"DNS Trace Tests","description":"DNS Trace test management operations"},{"name":"DNSSEC Tests","description":"DNSSEC test management operations"},{"name":"HTTP Server Tests","description":"HTTP Server test management operations"},{"name":"Page Load Tests","description":"Page Load test management operations"},{"name":"Web Transaction Tests","description":"Web Transactions test management operations"},{"name":"API Tests","description":"API test management operations"},{"name":"FTP Server Tests","description":"FTP Server test management operations"},{"name":"SIP Server Tests","description":"SIP Server test management operations"},{"name":"Voice Tests","description":"Voice test management operations"},{"name":"Path Visualization Interface Groups"}],"externalDocs":{"description":"Find out more about Network and Application Synthetics tests","url":"https://docs.thousandeyes.com/product-documentation/internet-and-wan-monitoring/tests#cloud-and-enterprise-agent-based-tests"},"openapi":"3.0.1","servers":[{"description":"ThousandEyes API production URL","url":"https://api.thousandeyes.com/v7"}],"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Bearer authentication token"}}},"spec":{"tags":["FTP Server Tests"],"summary":"Delete FTP Server test","operationId":"deleteFtpServerTest","description":"Deletes the specified FTP Server test. This method requires Account Admin permissions.","parameters":[{"name":"testId","description":"Test ID","required":true,"in":"path","schema":{"type":"string","example":"202701"},"$$ref":"#/components/parameters/TestIdPath"},{"name":"aid","in":"query","description":"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.","required":false,"schema":{"type":"string","example":"1234"},"$$ref":"#/components/parameters/AccountGroupId"}],"responses":{"204":{"description":"No content","$$ref":"#/components/responses/204"},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"invalid_token"},"error_description":{"type":"string","example":"Invalid access token"}},"$$ref":"#/components/schemas/UnauthorizedError"}}},"$$ref":"#/components/responses/401"},"403":{"description":"Insufficient permissions to query endpoint","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","description":"A URI reference that identifies the problem type. When this member is not present, its value is assumed to be \"about:blank\"."},"title":{"type":"string","description":"A short, human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code generated by the origin server for this occurrence of the problem."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem."},"instance":{"type":"string","description":"A URI reference that identifies the specific occurrence of the problem."}},"$$ref":"#/components/schemas/Error"}}},"$$ref":"#/components/responses/403"},"404":{"description":"Not found","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","description":"A URI reference that identifies the problem type. When this member is not present, its value is assumed to be \"about:blank\"."},"title":{"type":"string","description":"A short, human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code generated by the origin server for this occurrence of the problem."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem."},"instance":{"type":"string","description":"A URI reference that identifies the specific occurrence of the problem."}},"$$ref":"#/components/schemas/Error"},"example":{"type":"about:blank","title":"URI Resource Not Found","status":404,"detail":"Details explaining if the 404 error is related to an invalid URI or a wrong ID","instance":"/v7"}}},"$$ref":"#/components/responses/404"},"429":{"description":"Exhausted rate limit for the organization","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","description":"A URI reference that identifies the problem type. When this member is not present, its value is assumed to be \"about:blank\"."},"title":{"type":"string","description":"A short, human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code generated by the origin server for this occurrence of the problem."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem."},"instance":{"type":"string","description":"A URI reference that identifies the specific occurrence of the problem."}},"$$ref":"#/components/schemas/Error"}}},"$$ref":"#/components/responses/429"},"500":{"description":"Internal server error","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","description":"A URI reference that identifies the problem type. When this member is not present, its value is assumed to be \"about:blank\"."},"title":{"type":"string","description":"A short, human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code generated by the origin server for this occurrence of the problem."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem."},"instance":{"type":"string","description":"A URI reference that identifies the specific occurrence of the problem."}},"$$ref":"#/components/schemas/Error"},"example":{"type":"about:blank","title":"Internal server error","status":500,"detail":"Optional detail about the internal error message.","instance":"/v7"}}},"$$ref":"#/components/responses/500"}},"__originalOperationId":"deleteFtpServerTest","security":[{"BearerAuth":[]}],"method":"delete","path":"/tests/ftp-server/{testId}"}}