SFTP Server sessions APIs - NEW! 🚀
These APIs can be used to retrieve detailed information about open SFTP server sessions and to terminate a specific session currently open on the SFTP server.
They facilitate effective management of server connections and ensure control over ongoing session activities.
Monitor STENG SFTP server sessions
Endpoint: /infrastructure/clusters/server-sessions/query Method: POST Context: /data-one-application/api/v1 Description: To retrieve all SFTP open sessions Parameters: Json payload. Requested body parameters:
clusterName
Name of the cluster
string
Yes
peerName
Name of the peer
string
Yes
protocol
Protocol type
string
Yes
serverName
Name of the server
string
Yes
maxItem
100
Defaul value
integer
No
sort
ASC
Defaul value
string
No
Example:
Response:
200
SUCCESS
401
Not authorized (login not performed or token expired)
400
Bad request, details in the error message (i.e. mandatory fields not present or with wrong values)
The response is a list of JSON objects, each representing an SFTP session.
Example:
JSON
Terminate STENG SFTP server sessions
Endpoint: /infrastructure/clusters/server-sessions Method: DELETE Context: /data-one-application/api/v1 Description: To kill a specific SFTP session by sessionId Parameters: Json payload. Requested body parameters:
clusterName
Name of the cluster
string
Yes
peerName
Name of the peer
string
Yes
protocol
Protocol type. Use SFTP
string
Yes
serverName
Name of the server
string
Yes
sessionId
ID of the SFTP server session
string
Yes
Example:
cURL
Response:
200
SUCCESS
401
Not authorized (login not performed or token expired)
400
Bad request, details in the error message (i.e. mandatory fields not present or with wrong values)
The response is a list of JSON objects, with the sessionID.
Example:
Last updated