ProbeSftpHost
POST
/api/v1/t/{tenant}/data-tables/sftp-connections/probe
const url = 'https://example.com/api/v1/t/example/data-tables/sftp-connections/probe';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"host":"example","port":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/t/example/data-tables/sftp-connections/probe \ --header 'Content-Type: application/json' \ --data '{ "host": "example", "port": 1 }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”tenant
required
string
Tenant slug
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
host
required
string
port
required
null | integer format: int32
Examplegenerated
{ "host": "example", "port": 1}Responses
Section titled “ Responses ”OK
Media typeapplication/json
object
algorithm
required
string
fingerprint
required
string
Examplegenerated
{ "algorithm": "example", "fingerprint": "example"}Bad Request
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Forbidden
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Too Many Requests
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}