ktm users list

List users, optionally filtered by operator

List users, optionally filtered by operator

Usage

ktm users list [flags]

Examples

# List all users for an operator
ktm users list --operator my-operator

# Search for a user by name or email
ktm users list --operator my-operator --search alice

# List only active users
ktm users list --operator my-operator --active true

# List only service accounts
ktm users list --operator my-operator --type server

Flags

FlagTypeDefaultDescription
--activestringFilter by active status: true or false
--operatorstringOperator slug (from 'operators list') to scope results
--searchstringSearch across username, email, first name, and last name
--typestringFilter by account type: 'user' (human) or 'server' (service account)

Details

List user accounts on the platform, including both human users and service accounts.

Use --operator to scope results to a specific operator. Use --type to distinguish between human users ("user") and API service accounts ("server").

Note: Without --active, returns ALL users including inactive. This can produce 600+ results. Use --active true to limit to active users, and --operator and/or --search to narrow results further.

JSON output fields: id, username, first_name, last_name, email, is_active, is_superuser, type, roles, groups Table columns: ID, USERNAME, EMAIL, NAME, ACTIVE, TYPE

Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.

What's next?

All commands

Browse the full CLI reference.

Get started

Install the CLI and authenticate.

Last updated on