# Username

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

UrbeStack release 0.2.35 named type of the API.

A username consists of lowercase letters, digits and underscores. For the user role, it also serves as the system account name.

## Value

string, matching ^[a-z][a-z0-9_]{1,31}$

## Used by

- [GET /auth/me](https://urbestack.com/docs/api/get-auth-me.md): Get the authenticated user and token details
- [GET /backups/archive](https://urbestack.com/docs/api/get-backups-archive.md): Inspect a customer's backup archive for a specific day
- [GET /bandwidth](https://urbestack.com/docs/api/get-bandwidth.md): List monthly bandwidth totals by customer
- [GET /certificates](https://urbestack.com/docs/api/get-certificates.md): List TLS certificates across the server
- [GET /databases](https://urbestack.com/docs/api/get-databases.md): List databases
- [POST /databases](https://urbestack.com/docs/api/post-databases.md): Create a MariaDB database
- [GET /databases/users](https://urbestack.com/docs/api/get-databases-users.md): List database users and their grants
- [POST /databases/users](https://urbestack.com/docs/api/post-databases-users.md): Create a database user
- [POST /databases/{name}/adopt](https://urbestack.com/docs/api/post-databases-name-adopt.md): Assign an unowned MariaDB database to a customer
- [GET /domains](https://urbestack.com/docs/api/get-domains.md): List domains
- [GET /files/{user}](https://urbestack.com/docs/api/get-files-user.md): List the entries in a directory in a customer's home
- [POST /files/{user}/compress](https://urbestack.com/docs/api/post-files-user-compress.md): Create a .zip archive from entries in one directory
- [GET /files/{user}/content](https://urbestack.com/docs/api/get-files-user-content.md): Read a file's contents as base64
- [PUT /files/{user}/content](https://urbestack.com/docs/api/put-files-user-content.md): Write the entire contents of a file
- [POST /files/{user}/copy](https://urbestack.com/docs/api/post-files-user-copy.md): Copy entries into a directory in a customer's home
- [POST /files/{user}/delete](https://urbestack.com/docs/api/post-files-user-delete.md): Permanently delete entries from a customer's home
- [POST /files/{user}/directories](https://urbestack.com/docs/api/post-files-user-directories.md): Create a directory in a customer's home
- [GET /files/{user}/download](https://urbestack.com/docs/api/get-files-user-download.md): Download a file or download a directory as a ZIP archive
- [POST /files/{user}/download](https://urbestack.com/docs/api/post-files-user-download.md): Download entries from one directory as a ZIP archive
- [POST /files/{user}/extract](https://urbestack.com/docs/api/post-files-user-extract.md): Extract an archive in a customer's home
- [POST /files/{user}/mode](https://urbestack.com/docs/api/post-files-user-mode.md): Set the permissions of one or more entries
- [POST /files/{user}/move](https://urbestack.com/docs/api/post-files-user-move.md): Move entries into a directory in the customer's home
- [POST /files/{user}/rename](https://urbestack.com/docs/api/post-files-user-rename.md): Rename or move an entry within a customer's home
- [GET /files/{user}/size](https://urbestack.com/docs/api/get-files-user-size.md): Measure disk usage for a directory or its immediate subdirectories
- [GET /files/{user}/trash](https://urbestack.com/docs/api/get-files-user-trash.md): List the entries in the customer's Trash
- [POST /files/{user}/trash](https://urbestack.com/docs/api/post-files-user-trash.md): Move entries to the customer's Trash
- [POST /files/{user}/trash/restore](https://urbestack.com/docs/api/post-files-user-trash-restore.md): Restore entries from the Trash to their original directories
- [GET /ftp/accounts](https://urbestack.com/docs/api/get-ftp-accounts.md): List FTP accounts and report FTP status
- [GET /protected-folders](https://urbestack.com/docs/api/get-protected-folders.md): List an account's password-protected folders
- [GET /users/{name}](https://urbestack.com/docs/api/get-users-name.md): Get a user account
- [PATCH /users/{name}](https://urbestack.com/docs/api/patch-users-name.md): Update a user account
- [DELETE /users/{name}](https://urbestack.com/docs/api/delete-users-name.md): Delete a user account and its resources
- [GET /users/{name}/backup-excludes](https://urbestack.com/docs/api/get-users-name-backup-excludes.md): List a customer's backup exclusions
- [POST /users/{name}/backup-excludes](https://urbestack.com/docs/api/post-users-name-backup-excludes.md): Add a backup exclusion for a customer
- [PATCH /users/{name}/backup-excludes/{id}](https://urbestack.com/docs/api/patch-users-name-backup-excludes-id.md): Lock or unlock a customer's backup exclusion
- [DELETE /users/{name}/backup-excludes/{id}](https://urbestack.com/docs/api/delete-users-name-backup-excludes-id.md): Remove a customer's backup exclusion
- [GET /users/{name}/backups](https://urbestack.com/docs/api/get-users-name-backups.md): List a customer's backup archives and any active backup or restore job
- [POST /users/{name}/backups](https://urbestack.com/docs/api/post-users-name-backups.md): Queue an on-demand backup for a customer
- [GET /users/{name}/backups/archive](https://urbestack.com/docs/api/get-users-name-backups-archive.md): Inspect a customer's on-demand or nightly backup archive
- [POST /users/{name}/backups/restore](https://urbestack.com/docs/api/post-users-name-backups-restore.md): Queue a customer restore from an on-demand or nightly backup archive
- [DELETE /users/{name}/backups/{file}](https://urbestack.com/docs/api/delete-users-name-backups-file.md): Delete one of a customer's on-demand backup archives
- [GET /users/{name}/bandwidth](https://urbestack.com/docs/api/get-users-name-bandwidth.md): Get a customer's monthly bandwidth usage
- [GET /users/{name}/cron](https://urbestack.com/docs/api/get-users-name-cron.md): List a customer's cron jobs
- [PATCH /users/{name}/cron](https://urbestack.com/docs/api/patch-users-name-cron.md): Set the email address for a customer's cron output
- [POST /users/{name}/cron/jobs](https://urbestack.com/docs/api/post-users-name-cron-jobs.md): Add a job to a customer's crontab
- [PATCH /users/{name}/cron/jobs/{id}](https://urbestack.com/docs/api/patch-users-name-cron-jobs-id.md): Update a cron job's schedule, command, or both
- [DELETE /users/{name}/cron/jobs/{id}](https://urbestack.com/docs/api/delete-users-name-cron-jobs-id.md): Remove a job from a customer's crontab
- [GET /users/{name}/disk](https://urbestack.com/docs/api/get-users-name-disk.md): Get a customer's disk usage and package limit
- [POST /users/{name}/home-repair](https://urbestack.com/docs/api/post-users-name-home-repair.md): Repair ownership and permissions in a customer's home
- [GET /users/{name}/limits](https://urbestack.com/docs/api/get-users-name-limits.md): Get a customer's resource counts and package limits
- [DELETE /users/{name}/second-factor](https://urbestack.com/docs/api/delete-users-name-second-factor.md): Clear a user's second factor
- [GET /users/{name}/ssh-keys](https://urbestack.com/docs/api/get-users-name-ssh-keys.md): List a customer's SSH public keys
- [POST /users/{name}/ssh-keys](https://urbestack.com/docs/api/post-users-name-ssh-keys.md): Add an SSH public key for a customer
- [PATCH /users/{name}/ssh-keys/{id}](https://urbestack.com/docs/api/patch-users-name-ssh-keys-id.md): Change a customer's SSH key label
- [DELETE /users/{name}/ssh-keys/{id}](https://urbestack.com/docs/api/delete-users-name-ssh-keys-id.md): Remove a customer's SSH public key
- [GET /users/{name}/tokens](https://urbestack.com/docs/api/get-users-name-tokens.md): List a user's sessions and API tokens
- [DELETE /users/{name}/tokens/{id}](https://urbestack.com/docs/api/delete-users-name-tokens-id.md): Revoke a user's token
