Create FTP account

Create a new FTP account with a selected directory and quota.

Path Parameters

accountId integer · min: 1 required

accountId parameter

Headers

Accept Example
Content-Type Example

Body

required
application/json
user string required
password string required
directory string
quota number

Responses

200 Successful response

No response body

POST https://cloud.hostup.se/api/hosting/{accountId}/ftp-accounts
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/hosting/0/ftp-accounts" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "user": "string",
    "password": "string",
    "directory": "string",
    "quota": 0
  }'
Response
{}
Request Body
{
  "user": "string",
  "password": "string",
  "directory": "string",
  "quota": 0
}