Client - FTP Accounts

Update an existing FTP account on the caller's account

put/api/client/ftp-accounts/{id}

Path parameters

idinteger required

Request body

ftp_passwordstring
ftp_pathstring

Relative path under the account home only (e.g. test). Never pass a full /home/<username>/... path.

Response

FTP account updated successfully

idinteger

ID of the FTP account

hosting_account_idinteger

ID of the related hosting account

domain_idinteger nullable

ID of the related domain (nullable)

ftp_usernamestring

FTP username

ftp_username_prefixstring nullable

FTP username prefix (nullable)

ftp_pathstring nullable

Subdirectory under the hosting account home only (e.g. public_html or test). Do not send /home/<username>/... or home/<username>/...; the system adds the account home root.

ftp_quotainteger nullable

FTP quota in MB (nullable)

ftp_quota_typestring nullable

FTP quota type (nullable)

ftp_username_with_prefixstring

FTP username with prefix

ftp_host_textstring

FTP host address

ftp_port_textstring

FTP port number

ftp_path_textstring

FTP path

ftp_quota_textstring

FTP quota as text

Changes

No recorded changes to this endpoint across all 1 revision of this API.