Users
Manage user accounts and permissions on your Slasha instance. User management requires admin privileges.
slasha users list
View all registered users and their roles.
# List all users
slasha users list
slasha users create
Create a new account. You can specify whether the user is an admin or a regular user with access to specific apps.
# Create an admin user (will prompt for password)
slasha users create --email admin@example.com --role admin
# Create a user with access to specific apps
slasha users create --email dev@example.com --role user --apps api,web
Automated Setup: To provide a password via script or CI, use –password-stdin:
echo “my-password” | slasha users create –email test@example.com –role user –password-stdin
slasha users update
Modify an existing user’s email, role, app access, or password. Use the ID from the list command.
# Change a user's role
slasha users update <id> --role user
# Update an app access list
slasha users update <id> --apps blog,dashboard
# Reset a user's password
slasha users update <id> --password
slasha users delete
Permanently remove a user account from the server.
# Delete a user (will prompt for confirmation)
slasha users delete <id>
# Force delete without confirmation
slasha users delete <id> -y
Lockout Protection: Slasha will prevent you from deleting or demoting the last remaining admin user.