# urbestack-user-list

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

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-user-list [--name NAME]
urbestack-user-list [--q TEXT] [--status active|suspended|moving|near] [--role admin|reseller|user] [--owner NAME|-] [--sort name|disk|bandwidth] [--page N] [--per-page N] [--month YYYY-MM]
```

## Description

Lists UrbeStack accounts. Use --name to look up a single account by its exact name. In the list, --q matches any part of an account name, email address or domain name, using up to the first 200 characters of the search text. Use --owner with a reseller's name to list their customers, or use --owner - for accounts owned directly by the administrator.

Use --status moving for accounts undergoing a move between servers. Use --status near for accounts at or above the first warning threshold for disk usage or the selected month's bandwidth usage. Each account in the list includes its bandwidth usage for that month and its package's disk and bandwidth limits, all in bytes. A limit of 0 means unlimited. Limits are null for accounts without a package. Resellers also show a customer count. Use --month in YYYY-MM format to select a bandwidth month. The default is the current month.

The default sort is by name. With --sort disk or --sort bandwidth, accounts with measured usage and a limit come first, highest percentage of the limit first. Within each group, ties sort by usage in bytes, highest first, then by name.

Either --page or --per-page requests a single page. The default is page 1 with 25 accounts per page. --per-page accepts 1 to 1000. Page 0 selects page 1, and a page number past the end selects the last page. Omit both options to list every match.

Counts by status, role and reseller ownership apply the other filters and ignore --status. The result also includes unfiltered totals for all accounts, each role and accounts owned by resellers.

## Command family: user

- [urbestack-user-add](https://urbestack.com/docs/commands/urbestack-user-add.md): Creates an UrbeStack account.
- [urbestack-user-del](https://urbestack.com/docs/commands/urbestack-user-del.md): Deletes an UrbeStack account and its domains, subdomains, DNS zones, databases and database users.
- [urbestack-user-second-factor-codes](https://urbestack.com/docs/commands/urbestack-user-second-factor-codes.md): Replaces the user's recovery codes with eight new codes and prints them once.
- [urbestack-user-second-factor-confirm](https://urbestack.com/docs/commands/urbestack-user-second-factor-confirm.md): Confirms a pending second factor using the authenticator app's six-digit code supplied with --code.
- [urbestack-user-second-factor-enrol](https://urbestack.com/docs/commands/urbestack-user-second-factor-enrol.md): Starts enrolment of a TOTP second factor and prints the secret as text and as an otpauth:// URI for an authenticator app.
- [urbestack-user-set](https://urbestack.com/docs/commands/urbestack-user-set.md): Updates an existing UrbeStack account.
