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.