Skip to main content
POST
/
servers
/
{id}
/
sftp
Get or create SFTP credentials
curl --request POST \
  --url https://your-domain.com/api/client/v1/servers/{id}/sftp \
  --header 'Authorization: Bearer <token>'
{
  "username": "<string>",
  "password": "<string>",
  "computedUsername": "<string>",
  "host": "<string>",
  "port": 123,
  "uri": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Server UUID.

Response

SFTP credentials

username
string
password
string
computedUsername
string
host
string
port
integer
uri
string | null