Synopsis
Description
auth commands connect directly to the database (no server required) for administrative user management. Use them to manage accounts, generate invite codes for new users, and control registration mode.
Subcommands
| Subcommand | Description |
|---|---|
invite | Generate one or more invite codes |
reset-password <email> | Reset a user’s password and generate new recovery codes |
list-users | List all registered users |
list-invites | List all invite codes and their status |
set-mode <mode> | Set registration mode to open or invite |
auth invite
Generate invite codes for new users to use during registration.
Number of codes to generate (max 50).
Expiration duration. Format:
7d, 24h, 30m. Codes without an expiry never expire.Human-readable label for tracking (e.g.,
"For Alice", "Team onboarding").auth reset-password <email>
Generates a random temporary password, invalidates all existing sessions for the user, and prints new recovery codes. The user must change their password after the next login.
auth list-users
Filter by user status. One of
active or suspended.Output as JSON.
auth list-invites
Show only codes that have not been used yet.
Output as JSON.
auth set-mode <mode>
Registration mode.
open allows anyone to register. invite requires a valid invite code.Examples
Related
profclaw config login- Configure API token authenticationprofclaw device- Manage paired devicesprofclaw security- Security policies and approvals