The site's FTPS/SFTP accounts and how to connect
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
GET
/api/v1/tenants/{tid}/sites/{id}/ftpThe site's FTPS/SFTP accounts and how to connect (ADR 0040)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
id | path | string | required |
Responses
200 Accounts
Content type: application/json
idstring requiredtenant_idstring requiredsite_idstring requiredserver_idstring requiredusernamestring requiredhomestring requiredFolder under the site's public root; empty for all of it
read_onlyboolean requiredenabledboolean requiredcreated_atstring (date-time) requiredupdated_atstring (date-time) required
connectobject requiredenabledboolean requiredhoststring requiredftpsboolean requiredsftp_portinteger requiredftp_portinteger requiredhost_keystring required
Example
{
"accounts": [
{
"id": "string",
"tenant_id": "string",
"site_id": "string",
"server_id": "string",
"username": "string",
"home": "string",
"read_only": true,
"enabled": true,
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
],
"connect": {
"enabled": true,
"host": "string",
"ftps": true,
"sftp_port": 0,
"ftp_port": 0,
"host_key": "string"
}
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required