Managing Licenses

Learn how to create, assign, and manage licenses.

Creating Licenses

Licenses are created from plans and inherit all the plan's settings. When you create a license, it snapshots the plan configuration at that moment.

Using the Dashboard:

  1. Go to Licenses
  2. Click "Create License"
  3. Select a plan
  4. Optionally override expiration
  5. Click "Create"

Assigning Licenses

After creating a license, assign it to a user by their userId (your internal user identifier).

Using the API:

POST /api/v1/admin/licenses/:licenseId/assign
{
  "userId": "user_123"
}

License Status

Licenses can have different statuses:

  • active - License is active and valid
  • suspended - Temporarily disabled
  • revoked - Permanently disabled
  • expired - Past expiration date

Update status using PATCH /api/v1/admin/licenses/:id/status