# FtpAccountCreate

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 named type of the API.

## Fields

- `directory` (HomePath, required): A path within the customer's home directory, with / representing the home directory itself. The path cannot contain .. components or control characters.
- `domain` (DomainName, required): One of the customer's domains.
- `name` (string, matching ^[A-Za-z0-9][A-Za-z0-9._-]{0,31}$, required): Part of the login before the @, converted to lowercase.
- `password` (string, up to 128 characters, required)
- `expires_at` (string, matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$ or null): Future UTC expiration time, such as 2026-11-04T09:30:00Z. The nightly run removes the account after expiration and preserves its directory. Omit this field to create an account with no expiration.
- `user` (Username): Username of the customer for whom an administrator is creating the FTP account.

## Used by

- [POST /ftp/accounts](https://urbestack.com/docs/api/post-ftp-accounts.md): Create an FTP account
