CLI Command Reference
This page documents all Fluxbase CLI commands, their subcommands, flags, and usage examples.
Command Overview
Section titled “Command Overview”fluxbase [command] [subcommand] [flags]Global Flags
Section titled “Global Flags”These flags work with all commands:
| Flag | Short | Description |
|---|---|---|
--config | Config file path (default: ~/.fluxbase/config.yaml) | |
--profile | -p | Profile to use |
--output | -o | Output format: table, json, yaml |
--no-headers | Hide table headers | |
--quiet | -q | Minimal output |
--debug | Enable debug output |
Authentication Commands
Section titled “Authentication Commands”fluxbase auth login
Section titled “fluxbase auth login”Authenticate with a Fluxbase server.
# Interactive loginfluxbase auth login
# Non-interactive with credentialsfluxbase auth login --server URL --email EMAIL --password PASSWORD
# With API tokenfluxbase auth login --server URL --token TOKEN
# SSO login (opens browser)fluxbase auth login --server URL --sso
# Save to named profilefluxbase auth login --profile prod --server URLFlags:
--server- Fluxbase server URL--email- Email address--password- Password--token- API token (alternative to email/password)--sso- Login via SSO (opens browser for OAuth/SAML authentication)--profile- Profile name (default: “default”)--use-keychain- Store credentials in system keychain
Note: When password login is disabled on the server, the CLI automatically detects this and initiates SSO login.
fluxbase auth logout
Section titled “fluxbase auth logout”Clear stored credentials.
fluxbase auth logoutfluxbase auth logout --profile prodfluxbase auth status
Section titled “fluxbase auth status”Show authentication status for all profiles.
fluxbase auth statusfluxbase auth switch
Section titled “fluxbase auth switch”Switch the active profile.
fluxbase auth switch prodfluxbase auth whoami
Section titled “fluxbase auth whoami”Display current user information.
fluxbase auth whoamiFunctions Commands
Section titled “Functions Commands”Manage edge functions.
fluxbase functions list
Section titled “fluxbase functions list”fluxbase functions listfluxbase functions list --namespace productionfluxbase functions get
Section titled “fluxbase functions get”fluxbase functions get my-functionfluxbase functions create
Section titled “fluxbase functions create”fluxbase functions create my-function --code ./function.tsfluxbase functions create my-function --code ./function.ts --timeout 60 --memory 256Flags:
--code- Path to function code file (required)--description- Function description--timeout- Execution timeout in seconds (default: 30)--memory- Memory limit in MB (default: 128)
fluxbase functions update
Section titled “fluxbase functions update”fluxbase functions update my-function --code ./function.tsfluxbase functions update my-function --timeout 120fluxbase functions delete
Section titled “fluxbase functions delete”fluxbase functions delete my-functionfluxbase functions invoke
Section titled “fluxbase functions invoke”fluxbase functions invoke my-functionfluxbase functions invoke my-function --data '{"key": "value"}'fluxbase functions invoke my-function --file ./payload.jsonfluxbase functions logs
Section titled “fluxbase functions logs”View execution logs for a function.
fluxbase functions logs my-functionfluxbase functions logs my-function --tail 50fluxbase functions logs my-function --followFlags:
--tail- Number of lines to show (default: 20)--follow,-f- Stream new log entries in real-time
fluxbase functions sync
Section titled “fluxbase functions sync”Sync all functions from a local directory to the server.
fluxbase functions sync --dir ./functionsfluxbase functions sync --dir ./functions --namespace production --dry-runFlags:
--dir- Directory containing function files (default:./functions)--namespace- Target namespace (default:default)--dry-run- Preview changes without applying
Shared Modules:
Place shared code in a _shared/ subdirectory:
functions/├── _shared/│ └── utils.ts├── api-handler.ts└── webhook.tsFunctions can import from shared modules:
import { helper } from "./_shared/utils.ts";If Deno is installed locally, functions with imports are automatically bundled before upload.
Jobs Commands
Section titled “Jobs Commands”Manage background jobs.
fluxbase jobs list
Section titled “fluxbase jobs list”fluxbase jobs listfluxbase jobs submit
Section titled “fluxbase jobs submit”fluxbase jobs submit my-jobfluxbase jobs submit my-job --payload '{"data": "value"}'fluxbase jobs submit my-job --priority 10fluxbase jobs status
Section titled “fluxbase jobs status”fluxbase jobs status abc123fluxbase jobs cancel
Section titled “fluxbase jobs cancel”fluxbase jobs cancel abc123fluxbase jobs retry
Section titled “fluxbase jobs retry”fluxbase jobs retry abc123fluxbase jobs logs
Section titled “fluxbase jobs logs”fluxbase jobs logs abc123fluxbase jobs stats
Section titled “fluxbase jobs stats”Show job queue statistics.
fluxbase jobs statsfluxbase jobs sync
Section titled “fluxbase jobs sync”Sync job functions from a local directory.
fluxbase jobs sync --dir ./jobsfluxbase jobs sync --dir ./jobs --namespace production --dry-runFlags:
--dir- Directory containing job files (default:./jobs)--namespace- Target namespace (default:default)--dry-run- Preview changes without applying
Like functions, jobs support a _shared/ directory for shared modules and JSON/GeoJSON data files.
Storage Commands
Section titled “Storage Commands”Manage file storage.
Bucket Commands
Section titled “Bucket Commands”# List bucketsfluxbase storage buckets list
# Create bucketfluxbase storage buckets create my-bucketfluxbase storage buckets create my-bucket --public
# Delete bucketfluxbase storage buckets delete my-bucketObject Commands
Section titled “Object Commands”# List objectsfluxbase storage objects list my-bucketfluxbase storage objects list my-bucket --prefix images/
# Upload filefluxbase storage objects upload my-bucket path/to/file.jpg ./local-file.jpg
# Download filefluxbase storage objects download my-bucket path/to/file.jpg ./local-file.jpg
# Delete objectfluxbase storage objects delete my-bucket path/to/file.jpg
# Get signed URLfluxbase storage objects url my-bucket path/to/file.jpg --expires 7200Chatbot Commands
Section titled “Chatbot Commands”Manage AI chatbots.
# List chatbotsfluxbase chatbots list
# Get chatbot detailsfluxbase chatbots get abc123
# Create chatbotfluxbase chatbots create support-bot --system-prompt "You are helpful"
# Update chatbotfluxbase chatbots update abc123 --model gpt-4
# Delete chatbotfluxbase chatbots delete abc123
# Interactive chatfluxbase chatbots chat abc123Knowledge Base Commands
Section titled “Knowledge Base Commands”Manage knowledge bases for RAG.
# List knowledge basesfluxbase kb list
# Create knowledge basefluxbase kb create docs --description "Product documentation"
# Upload documentfluxbase kb upload abc123 ./manual.pdf
# List documentsfluxbase kb documents abc123
# Search knowledge basefluxbase kb search abc123 "how to reset password"
# Delete knowledge basefluxbase kb delete abc123Table Commands
Section titled “Table Commands”Query and manage database tables.
# List tablesfluxbase tables list
# Describe tablefluxbase tables describe users
# Query tablefluxbase tables query usersfluxbase tables query users --select "id,email" --where "role=eq.admin" --limit 10
# Insert recordfluxbase tables insert users --data '{"email": "user@example.com"}'
# Update recordsfluxbase tables update users --where "id=eq.123" --data '{"name": "New Name"}'
# Delete recordsfluxbase tables delete users --where "id=eq.123"GraphQL Commands
Section titled “GraphQL Commands”Execute GraphQL queries and mutations against the auto-generated GraphQL API.
fluxbase graphql query
Section titled “fluxbase graphql query”Execute a GraphQL query.
# Simple queryfluxbase graphql query '{ users { id email created_at } }'
# Query with filteringfluxbase graphql query '{ users(where: {role: {_eq: "admin"}}) { id email } }'
# Query with ordering and paginationfluxbase graphql query '{ users(limit: 10, order_by: {created_at: desc}) { id email } }'
# Query from filefluxbase graphql query --file ./get-users.graphql
# Query with variablesfluxbase graphql query 'query GetUser($id: ID!) { user(id: $id) { id email } }' --var 'id=abc-123'
# Multiple variablesfluxbase graphql query 'query($limit: Int, $offset: Int) { users(limit: $limit, offset: $offset) { id } }' \ --var 'limit=10' --var 'offset=20'
# Output as JSONfluxbase graphql query '{ users { id } }' -o jsonFlags:
--file,-f- File containing the GraphQL query--var- Variables in formatname=value(can be repeated)--pretty- Pretty print JSON output (default: true)
fluxbase graphql mutation
Section titled “fluxbase graphql mutation”Execute a GraphQL mutation.
# Insert a recordfluxbase graphql mutation 'mutation { insert_users(objects: [{email: "new@example.com", name: "New User"}]) { returning { id email } }}'
# Update recordsfluxbase graphql mutation 'mutation { update_users(where: {id: {_eq: "user-id"}}, _set: {name: "Updated Name"}) { affected_rows returning { id name } }}'
# Delete recordsfluxbase graphql mutation 'mutation { delete_users(where: {id: {_eq: "user-id"}}) { affected_rows }}'
# Mutation with variablesfluxbase graphql mutation 'mutation CreateUser($email: String!, $name: String!) { insert_users(objects: [{email: $email, name: $name}]) { returning { id } }}' --var 'email=test@example.com' --var 'name=Test User'
# Mutation from filefluxbase graphql mutation --file ./create-user.graphql --var 'email=user@example.com'Flags:
--file,-f- File containing the GraphQL mutation--var- Variables in formatname=value(can be repeated)--pretty- Pretty print JSON output (default: true)
fluxbase graphql introspect
Section titled “fluxbase graphql introspect”Fetch and display the GraphQL schema via introspection.
# Full introspection queryfluxbase graphql introspect
# List only type namesfluxbase graphql introspect --types
# Output as JSONfluxbase graphql introspect -o jsonFlags:
--types- List only type names (simplified output)
Note: Introspection must be enabled on the server. It’s enabled by default in development but should be disabled in production for security.
RPC Commands
Section titled “RPC Commands”Manage and invoke stored procedures.
fluxbase rpc list
Section titled “fluxbase rpc list”List all RPC procedures.
fluxbase rpc listfluxbase rpc list --namespace productionfluxbase rpc get
Section titled “fluxbase rpc get”Get details of a specific procedure.
fluxbase rpc get default/calculate_totalsfluxbase rpc invoke
Section titled “fluxbase rpc invoke”Invoke a stored procedure.
fluxbase rpc invoke default/calculate_totalsfluxbase rpc invoke default/process --params '{"id": 123}'fluxbase rpc invoke default/batch_update --file ./params.json --asyncFlags:
--params- JSON parameters to pass--file- Load parameters from file--async- Run asynchronously (returns immediately)
fluxbase rpc sync
Section titled “fluxbase rpc sync”Sync RPC procedures from SQL files in a directory.
fluxbase rpc sync --dir ./rpcfluxbase rpc sync --dir ./rpc --namespace production --dry-runFlags:
--dir- Directory containing.sqlfiles (default:./rpc)--namespace- Target namespace (default:default)--dry-run- Preview changes without applying--delete-missing- Delete procedures not in local directory
Webhook Commands
Section titled “Webhook Commands”Manage webhooks.
# List webhooksfluxbase webhooks list
# Create webhookfluxbase webhooks create --url https://example.com/webhook --events "INSERT,UPDATE"
# Test webhookfluxbase webhooks test abc123
# View deliveriesfluxbase webhooks deliveries abc123
# Delete webhookfluxbase webhooks delete abc123Client Key Commands
Section titled “Client Key Commands”Manage client keys.
# List client keysfluxbase clientkeys list
# Create client keyfluxbase clientkeys create --name "Production" --scopes "read:tables,write:tables"
# Revoke client keyfluxbase clientkeys revoke abc123
# Delete client keyfluxbase clientkeys delete abc123Migration Commands
Section titled “Migration Commands”Manage database migrations.
# List migrationsfluxbase migrations list
# Apply specific migrationfluxbase migrations apply 001_create_users
# Rollback migrationfluxbase migrations rollback 001_create_users
# Apply all pendingfluxbase migrations apply-pending
# Sync from directoryfluxbase migrations sync --dir ./migrationsExtension Commands
Section titled “Extension Commands”Manage PostgreSQL extensions.
# List extensionsfluxbase extensions list
# Enable extensionfluxbase extensions enable pgvector
# Disable extensionfluxbase extensions disable pgvectorRealtime Commands
Section titled “Realtime Commands”Manage realtime connections.
# Show statsfluxbase realtime stats
# Broadcast messagefluxbase realtime broadcast my-channel --message '{"type": "notification"}'Settings Commands
Section titled “Settings Commands”Manage system settings.
# List settingsfluxbase settings list
# Get settingfluxbase settings get auth.signup_enabled
# Set settingfluxbase settings set auth.signup_enabled trueSettings Secrets Commands
Section titled “Settings Secrets Commands”Manage encrypted application settings secrets. These are separate from the function secrets (fluxbase secrets) and are used for storing sensitive application configuration such as client keys and credentials.
Settings secrets support two scopes:
- System secrets - Global application secrets (admin only)
- User secrets - Per-user secrets encrypted with user-specific keys
fluxbase settings secrets list
Section titled “fluxbase settings secrets list”List all secrets (values are never shown).
# List system secrets (admin)fluxbase settings secrets list
# List user's own secretsfluxbase settings secrets list --userFlags:
--user- List user-specific secrets instead of system secrets
fluxbase settings secrets set
Section titled “fluxbase settings secrets set”Create or update a secret.
# Set a system secret (admin only)fluxbase settings secrets set stripe_api_key "sk-live-xxx"fluxbase settings secrets set openai_key "sk-proj-xxx" --description "OpenAI API key"
# Set a user-specific secretfluxbase settings secrets set my_api_key "user-key-xxx" --userfluxbase settings secrets set my_api_key "user-key-xxx" --user --description "My personal API key"Flags:
--user- Create/update a user-specific secret instead of a system secret--description- Description of the secret
User secrets are encrypted with a user-derived key, ensuring that even admins cannot decrypt other users’ secrets.
fluxbase settings secrets get
Section titled “fluxbase settings secrets get”Get metadata for a secret (the value is never returned).
# Get system secret metadatafluxbase settings secrets get stripe_api_key
# Get user secret metadatafluxbase settings secrets get my_api_key --userFlags:
--user- Get a user-specific secret instead of a system secret
fluxbase settings secrets delete
Section titled “fluxbase settings secrets delete”Delete a secret permanently.
# Delete system secretfluxbase settings secrets delete stripe_api_key
# Delete user secretfluxbase settings secrets delete my_api_key --userFlags:
--user- Delete a user-specific secret instead of a system secret
Comparison: Settings Secrets vs Legacy Secrets
Section titled “Comparison: Settings Secrets vs Legacy Secrets”| Feature | fluxbase settings secrets (Recommended) | fluxbase secrets (Legacy) |
|---|---|---|
| Storage | app.settings table | functions.secrets table |
| Scopes | System, user | Global, namespace |
| User-specific | Yes (with HKDF encryption) | No |
| Version history | No | Yes |
| Access in functions | secrets.get(), secrets.getRequired() | Deno.env.get("FLUXBASE_SECRET_*") |
| Fallback | User → System automatic fallback | Namespace → Global |
Config Commands
Section titled “Config Commands”Manage CLI configuration.
# Initialize configfluxbase config init
# View configfluxbase config view
# Set config valuefluxbase config set defaults.output json
# List profilesfluxbase config profiles
# Add profilefluxbase config profiles add staging
# Remove profilefluxbase config profiles remove stagingSecrets Commands (Legacy)
Section titled “Secrets Commands (Legacy)”The legacy fluxbase secrets commands manage namespace-scoped secrets stored in the functions.secrets table.
fluxbase secrets list
Section titled “fluxbase secrets list”List all secrets (values are never shown).
fluxbase secrets listfluxbase secrets list --scope globalfluxbase secrets list --namespace my-namespaceFlags:
--scope- Filter by scope (globalornamespace)--namespace- Filter by namespace
fluxbase secrets set
Section titled “fluxbase secrets set”Create or update a secret.
fluxbase secrets set API_KEY "my-secret-key"fluxbase secrets set DATABASE_URL "postgres://..." --scope namespace --namespace my-nsfluxbase secrets set TEMP_KEY "value" --expires 30dFlags:
--scope- Secret scope:global(default) ornamespace--namespace- Namespace for namespace-scoped secrets--description- Description of the secret--expires- Expiration duration (e.g.,30d,1y,24h)
Legacy secrets are available in functions as FLUXBASE_SECRET_<NAME> environment variables via Deno.env.get().
fluxbase secrets get
Section titled “fluxbase secrets get”Get metadata for a secret (the value is never returned).
fluxbase secrets get API_KEYfluxbase secrets get DATABASE_URL --namespace my-namespacefluxbase secrets delete
Section titled “fluxbase secrets delete”Delete a secret permanently.
fluxbase secrets delete API_KEYfluxbase secrets delete DATABASE_URL --namespace my-namespacefluxbase secrets history
Section titled “fluxbase secrets history”Show version history for a secret.
fluxbase secrets history API_KEYfluxbase secrets history DATABASE_URL --namespace my-namespacefluxbase secrets rollback
Section titled “fluxbase secrets rollback”Rollback a secret to a previous version.
fluxbase secrets rollback API_KEY 2fluxbase secrets rollback DATABASE_URL 1 --namespace my-namespaceLogs Commands
Section titled “Logs Commands”Query and stream logs from the central logging system.
fluxbase logs list
Section titled “fluxbase logs list”List logs with filters.
fluxbase logs listfluxbase logs list --category system --level errorfluxbase logs list --since 1h --search "database"fluxbase logs list --category execution --limit 50fluxbase logs list --user-id abc123 -o jsonFlags:
--category- Filter by category:system,http,security,execution,ai,custom--custom-category- Filter by custom category name (requires--category=custom)--level- Filter by level:debug,info,warn,error--component- Filter by component name--request-id- Filter by request ID--user-id- Filter by user ID--search- Full-text search in message--since- Show logs since time (e.g.,1h,30m,2024-01-15T10:00:00Z)--until- Show logs until time--limit- Maximum entries to return (default: 100)--asc- Sort ascending (oldest first)
fluxbase logs tail
Section titled “fluxbase logs tail”Tail logs in real-time.
fluxbase logs tailfluxbase logs tail --category securityfluxbase logs tail --level errorfluxbase logs tail --category system --component authFlags:
--category- Filter by category--level- Filter by level--component- Filter by component--lines- Number of initial lines to show (default: 20)
fluxbase logs stats
Section titled “fluxbase logs stats”Show log statistics.
fluxbase logs statsfluxbase logs stats -o jsonfluxbase logs execution
Section titled “fluxbase logs execution”View logs for a specific function, job, or RPC execution.
fluxbase logs execution abc123-def456fluxbase logs execution abc123-def456 -o jsonfluxbase logs execution abc123-def456 --followfluxbase logs execution abc123-def456 --tail 50Flags:
--follow,-f- Stream new log entries in real-time--tail- Show only last N lines
Sync Command
Section titled “Sync Command”Unified sync for all resource types.
fluxbase sync
Section titled “fluxbase sync”Sync all Fluxbase resources from a directory structure.
fluxbase sync # Auto-detect from ./fluxbase/ or current dirfluxbase sync --dir ./src # Specify root directoryfluxbase sync --namespace production # Apply namespace to allfluxbase sync --dry-run # Preview all changesFlags:
--dir- Root directory (default:./fluxbaseor current directory)--namespace- Target namespace for all resources (default:default)--dry-run- Preview changes without applying
The sync command automatically detects and syncs these subdirectories:
fluxbase/├── rpc/ # SQL files for stored procedures├── migrations/ # Database migrations (.up.sql, .down.sql)├── functions/ # Edge functions (.ts, .js)├── jobs/ # Background jobs (.ts, .js)└── chatbots/ # Chatbot configurations (.yaml)Resources are synced in dependency order: RPC → Migrations → Functions → Jobs → Chatbots
Branch Commands
Section titled “Branch Commands”Manage database branches for isolated development and testing environments. See the Database Branching Guide for full documentation.
fluxbase branch list
Section titled “fluxbase branch list”List all database branches.
fluxbase branch listfluxbase branch list --type previewfluxbase branch list --minefluxbase branch list -o jsonFlags:
--type- Filter by branch type (main,preview,persistent)--mine,-m- Show only branches created by you
fluxbase branch get
Section titled “fluxbase branch get”Get details of a specific branch.
fluxbase branch get my-featurefluxbase branch get pr-123fluxbase branch get 550e8400-e29b-41d4-a716-446655440000fluxbase branch create
Section titled “fluxbase branch create”Create a new database branch.
# Basic branchfluxbase branch create my-feature
# With full data clonefluxbase branch create staging --clone-data full_clone
# Persistent branch (not auto-deleted)fluxbase branch create staging --type persistent
# Branch with expirationfluxbase branch create temp-test --expires-in 24h
# Branch linked to GitHub PRfluxbase branch create pr-123 --pr 123 --repo owner/repo
# Branch from another branchfluxbase branch create feature-b --from feature-aFlags:
--clone-data- Data clone mode:schema_only(default),full_clone,seed_data--type- Branch type:preview(default),persistent--expires-in- Auto-delete after duration (e.g.,24h,7d)--from- Parent branch to clone from (default:main)--pr- GitHub PR number to associate--repo- GitHub repository (e.g.,owner/repo)
After creation, the command shows how to connect:
Branch 'my-feature' created successfully!
Slug: my-featureDatabase: branch_my_featureStatus: ready
To use this branch: Header: X-Fluxbase-Branch: my-feature Query: ?branch=my-feature SDK: { branch: 'my-feature' }fluxbase branch delete
Section titled “fluxbase branch delete”Delete a database branch and its associated database.
fluxbase branch delete my-featurefluxbase branch delete pr-123 --forceFlags:
--force,-f- Skip confirmation prompt
fluxbase branch reset
Section titled “fluxbase branch reset”Reset a branch to its parent state, recreating the database.
fluxbase branch reset my-featurefluxbase branch reset pr-123 --forceFlags:
--force,-f- Skip confirmation prompt
This drops the branch database and recreates it from the parent branch. All changes are lost.
fluxbase branch status
Section titled “fluxbase branch status”Show the current status of a branch.
fluxbase branch status my-featureOutput shows the branch name, slug, and current status (creating, ready, migrating, error, deleting).
fluxbase branch activity
Section titled “fluxbase branch activity”Show the activity log for a branch.
fluxbase branch activity my-featurefluxbase branch activity pr-123 --limit 20Flags:
--limit,-n- Maximum number of entries to show (default: 50)
fluxbase branch stats
Section titled “fluxbase branch stats”Show connection pool statistics for all branches.
fluxbase branch statsUseful for debugging and monitoring database connections across branches.
Admin Commands
Section titled “Admin Commands”Manage admin users, invitations, and sessions for the Fluxbase dashboard. Admin users have access to the admin dashboard for managing database, users, functions, and other platform features.
Admin User Commands
Section titled “Admin User Commands”fluxbase admin users list
Section titled “fluxbase admin users list”List all admin/dashboard users.
fluxbase admin users listfluxbase admin users list -o jsonfluxbase admin users get
Section titled “fluxbase admin users get”Get details of a specific admin user.
fluxbase admin users get 550e8400-e29b-41d4-a716-446655440000fluxbase admin users invite
Section titled “fluxbase admin users invite”Invite a new admin user via email.
fluxbase admin users invite --email admin@example.comfluxbase admin users invite --email admin@example.com --role dashboard_adminFlags:
--email- Email address to invite (required)--role- Role for the new user:dashboard_user(default) ordashboard_admin
fluxbase admin users delete
Section titled “fluxbase admin users delete”Delete an admin user.
fluxbase admin users delete 550e8400-e29b-41d4-a716-446655440000fluxbase admin users delete 550e8400-e29b-41d4-a716-446655440000 --forceFlags:
--force,-f- Skip confirmation prompt
Admin Invitation Commands
Section titled “Admin Invitation Commands”fluxbase admin invitations list
Section titled “fluxbase admin invitations list”List pending and accepted admin invitations.
fluxbase admin invitations listfluxbase admin invitations list --include-acceptedfluxbase admin invitations list --include-expiredFlags:
--include-accepted- Include accepted invitations--include-expired- Include expired invitations
fluxbase admin invitations revoke
Section titled “fluxbase admin invitations revoke”Revoke a pending admin invitation.
fluxbase admin invitations revoke abc123def456fluxbase admin invitations revoke abc123def456 --forceFlags:
--force,-f- Skip confirmation prompt
Admin Session Commands
Section titled “Admin Session Commands”fluxbase admin sessions list
Section titled “fluxbase admin sessions list”List all active admin sessions.
fluxbase admin sessions listfluxbase admin sessions list -o jsonfluxbase admin sessions revoke
Section titled “fluxbase admin sessions revoke”Revoke a specific admin session.
fluxbase admin sessions revoke 550e8400-e29b-41d4-a716-446655440000Flags:
--force,-f- Skip confirmation prompt
fluxbase admin sessions revoke-all
Section titled “fluxbase admin sessions revoke-all”Revoke all sessions for a specific admin user.
fluxbase admin sessions revoke-all 550e8400-e29b-41d4-a716-446655440000fluxbase admin sessions revoke-all 550e8400-e29b-41d4-a716-446655440000 --forceFlags:
--force,-f- Skip confirmation prompt
Admin Password Reset
Section titled “Admin Password Reset”fluxbase admin password-reset
Section titled “fluxbase admin password-reset”Send a password reset email to an admin user.
fluxbase admin password-reset --email admin@example.comFlags:
--email- Email address of the admin user (required)
User Commands
Section titled “User Commands”Manage application users (end users of your application). For admin/dashboard users, use fluxbase admin users instead.
fluxbase users list
Section titled “fluxbase users list”List all application users.
fluxbase users listfluxbase users list -o jsonfluxbase users list --search johnFlags:
--search- Search users by email
fluxbase users get
Section titled “fluxbase users get”Get details of a specific application user.
fluxbase users get 550e8400-e29b-41d4-a716-446655440000fluxbase users invite
Section titled “fluxbase users invite”Invite a new application user via email.
fluxbase users invite --email user@example.comFlags:
--email- Email address to invite (required)
fluxbase users delete
Section titled “fluxbase users delete”Delete an application user.
fluxbase users delete 550e8400-e29b-41d4-a716-446655440000fluxbase users delete 550e8400-e29b-41d4-a716-446655440000 --forceFlags:
--force,-f- Skip confirmation prompt