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/ftpThe 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_keystring 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
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required