Self Help Documentation
< All Topics

file/addftpaccount

Description

Creates a new FTP account in a given SPanel user account.

Parameters

FieldTypeRequiredDescription
tokenstringYesAuthorizing API token – check API Basics for more information.
accountuserstringYesThe SPanel user account that is being managed or viewed.
actionstringYesThe category and function being executed.
usernamestringYesThe FTP username to be created.
pathstringNoThe new FTP user’s home path, relative to the SPanel user’s home directory, e.g. /home/spanelio/new_user_path. If left empty the newly created user will have full access to the SPanel user’s home directory.
passwordstringYesThe new FTP user’s password.

Example

You can find more information about the Endpoint URL in our API Basics article.

Output

Table of Contents