# FtpAccount

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

UrbeStack release 0.2.35 named type of the API.

## Fields

- `created_at` (string)
- `directory` (HomePath): Directory within the customer's home to which the FTP account is confined. Use / for the entire home directory.
- `expires_at` (string or null): UTC time after which the nightly run removes the account. Null if the account has no expiration.
- `id` (integer)
- `last_login_at` (string or null): UTC time of the last FTP login that the hourly traffic run found in the system journal. Null if no login has been observed.
- `name` (FtpAccountName): An FTP account login consists of a name, an @, and one of the customer's domains.
- `package` (string or null): Customer's package, if assigned. Included in the account listing.
- `path` (string): On-disk path formed by joining the customer's home directory and the account's directory. Included in the account listing.
- `user` (Username): A username consists of lowercase letters, digits and underscores. For the user role, it also serves as the system account name.
- `user_id` (integer)

## Used by

- [GET /ftp/accounts](https://urbestack.com/docs/api/get-ftp-accounts.md): List FTP accounts and report FTP status
- [POST /ftp/accounts](https://urbestack.com/docs/api/post-ftp-accounts.md): Create an FTP account
- [PATCH /ftp/accounts/{name}](https://urbestack.com/docs/api/patch-ftp-accounts-name.md): Change an FTP account's password or directory
