License Management

Creating and Managing Licenses

6 min read
Licenses are the core of LicenseChain. Learn how to create and manage licenses effectively. ## Creating a License ### Via Dashboard 1. Navigate to your application 2. Click "Create License" 3. Configure license settings: - License Type: Perpetual, Subscription, Usage-based - Expiration: Set expiration date (if applicable) - Features: Enable/disable specific features - User/Device Limits: Set usage restrictions - Metadata: Add custom data ### Via API Use POST request to /v1/licenses endpoint with license configuration in JSON body. ## License Types ### Perpetual Licenses Never expire. Perfect for one-time purchases. ### Subscription Licenses Time-based licenses that expire after a set period. Can be renewed. ### Usage-Based Licenses Track usage metrics (API calls, storage, etc.) and enforce limits. ### Feature-Based Licenses Control access to specific features or modules. ## Managing Licenses You can: - Update license features and restrictions - Extend expiration dates - Revoke licenses - Transfer licenses between users - View usage statistics ## Best Practices β€’ Use descriptive license keys β€’ Set appropriate expiration dates β€’ Enable only necessary features β€’ Monitor license usage regularly β€’ Archive unused licenses