v1
latestOpenAPI 3.0.02026-07-14198572488.4 KBFTP Accounts
Create new ftp account
Endpoint that can be used to create a new ftp account for given site.
post/v1/sites/{id}/ftp/accounts
Path parameters
idinteger required
ID of the Site you are interacting with
Example:8880000888
Request body
Example request
{
"username": "ftpuser",
"password": "R3@llyStr0ng!P@55w0rd_123456",
"homedir": "public_html",
"quota": 500
}Response
OK
Example response
{
"success": true,
"errors": [],
"messages": [],
"result": {
"dir": "/home/abcd1234/public_html",
"diskquota": 500,
"user": "ftpuser@site.rocket.net"
}
}