Test SFTP connection for an export target
POST/csv-export/targets/:code/test-connection
Scans the server host key (stores fingerprint), then verifies credentials and remote path.
Request
Responses
- 200
- 401
- 403
- 404
- 429
- 503
OK
Unauthorized
Forbidden - request denied by authorization, or blocked by the API firewall
Not Found
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Retry-After
Delay in seconds a client must wait before retrying the request
SFTP connection failed; the cause is not disclosed, error_code is always connection_failed