Skip to main content
POST
Create an FTP account

Authorizations

Authorization
string
header
required

Send your API token as Authorization: Bearer <api-token>.

Path Parameters

project_id
string
required

The app's name.

diskName
string
required

The disk's name.

Query Parameters

teamID
string

Run the request in the context of a team you belong to, instead of your personal account. 24-character hexadecimal ID.

Pattern: ^[0-9a-fA-F]{24}$

Body

application/json
username
string
required

Lowercase letters, digits and underscores; must start with a letter.

Required string length: 5 - 16
Pattern: ^[a-z][a-z0-9_]+[a-z0-9]$
readOnly
boolean
required

Only allow reading files.

Response

The account was created.

username
string
password
string
host
string

The FTP server to connect to.