cURL
curl --request PATCH \ --url https://api.sftpsync.io/clients/{id} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "name": "<string>", "sftpUsername": "<string>", "sftpPassword": "<string>", "sftpPrivateKey": "<string>", "sftpPassphrase": "<string>", "useHostedSFTP": true, "awsUserName": "<string>", "awsPublicKey": "<string>", "awsPassword": "<string>", "ipWhitelist": [ "<string>" ], "sftpServerDataId": "<string>" }'
{ "id": "<string>", "name": "<string>", "sftpUsername": "<string>", "sftpPassword": "<string>", "sftpPrivateKey": "<string>", "sftpPassphrase": "<string>", "useHostedSFTP": true, "awsUserName": "<string>", "awsPublicKey": "<string>", "awsPassword": "<string>", "ipWhitelist": [ "<string>" ], "workspaceId": "<string>", "sftpServerDataId": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Client