Create an FTP user on a server

Creates a Pure-FTPd user on the selected server and tracks it in Webdock metadata. The user gets FTP access to the given home directory only.
Creating an FTP user grants remote write access to files on the server, so treat this as a credential-issuing operation. Webdock does not store the password, so it cannot be retrieved later; reissue the user if the password is lost.
Body
FTP user create payload for a specific server
Optional Linux group for the FTP user (a-zA-Z0-9_- , must start with a letter or underscore). Defaults to www-data when omitted, which is what the webserver runs as on Webdock stacks.
www-dataOptional absolute home directory the FTP user is restricted to. Defaults to /var/www when omitted. Relative paths and path traversal are rejected.
/var/wwwFTP password. Alphanumeric characters only (a-zA-Z0-9). Webdock does not store this password, so it cannot be read back later.
Response
FTP user create request accepted
FTP user ID from Webdock metadata storage. Use this value as ftpUserId when deleting the user.
Still need help? Share an idea