API referenceSections

The FTP service and accounts this agent's server should serve; reports the SFTP host key

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

POST /api/v1/agent/ftp

The FTP service and accounts this agent's server should serve; reports the SFTP host key (ADR 0040)

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Request body

required

Content type: application/json

object
  • host_key string optional
Example
{
  "host_key": "string"
}

Responses

200 Configuration, with password hashes for the agent to check sign-ins

Content type: application/json

object
Example
{}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required