Command Guides
Koneksi CLI Command Reference
Overview
Koneksi CLI provides tools for interacting with the Koneksi API platform. This guide lists all available commands organized by functional category.
Authentication Commands
koneksi auth register
Create a new user account
koneksi auth verify-account
Verify your email address
koneksi auth resend-verification
Request a new verification code
koneksi auth login
Authenticate and obtain access tokens
koneksi auth verify-otp
Complete MFA authentication
koneksi auth forgot-password
Request a password reset code
koneksi auth reset-password
Reset your password with a reset code
koneksi auth revoke-token
Invalidate all refresh tokens
Settings Commands
koneksi settings change-password
Update your account password
koneksi settings update-config
Update your user settings
koneksi profile get
Retrieve your user profile information
MFA Settings
koneksi settings mfa generate-otp
Create a new OTP secret for MFA setup
koneksi settings mfa enable
Turn on Multi-Factor Authentication
koneksi settings mfa disable
Turn off Multi-Factor Authentication
Service Account Commands
koneksi service-accounts generate
Create a new service account with API credentials
koneksi service-accounts browse
List all service accounts
koneksi service-accounts revoke
Disable a service account
Peer Connection Commands
koneksi peer fetch
Retrieve information about connected peers
Directory Management Commands
koneksi directory create
Create a new directory
koneksi directory read
List contents of a directory
koneksi directory update
Update directory name or move to another location
koneksi directory delete
Permanently delete a directory
koneksi directory upload
Upload a directory
koneksi directory get-upload-queue
Get the upload queue for a directory
koneksi directory delete-upload-queue
Delete an upload queue item
koneksi directory retry-upload
Retry an upload queue ite
koneksi directory get-subdirectories
Get subdirectory IDs from the root directory
File Management Commands
koneksi file upload
Upload a file to a directory
koneksi file read
Retrieve information about a file
koneksi file update
Update file name or move between directories
koneksi file delete
Delete a file
koneksi file download
Download a file from the system
koneksi file get-shareable-url
Generate a public URL for a shared file
koneksi file generate-link
Generate a temporary download link for a file
koneksi file share
Share a file with other users
Dashboard Commands
koneksi dashboard metrics
Display system usage metrics
System Commands
koneksi health
Check the operational status of the Koneksi API server
Help Command
koneksi help [command/category/category:command]
Get detailed help for specific commands
Common Usage Examples
# Get help
koneksi help
koneksi help auth login
# Register a new user
koneksi auth register --first-name "John" --last-name "Doe" --email "john.doe@example.com" --password "SecurePass123!" --confirm-password "SecurePass123!"
# Login and authenticate
koneksi auth login --email "john.doe@example.com" --password "SecurePass123!"
koneksi auth verify-otp --email "john.doe@example.com" --login-code "ABC123DEF456" --otp "123456"
# Manage files
koneksi file upload --file-path "/path/to/file.png" --directory-id "682aa5a96ef58914bf648be7"
koneksi file download --file-id "682aa5a96ef58914bf648be8" --output-path "./downloaded-file.png"
# Check system status
koneksi health --verbose
Common Flags
-e, --email
Your email address
-v, --verbose
Show detailed output
--help
Display help for a command
Last updated