> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enterprise.falkordb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Activate FalkorDB Enterprise with a signed license



## OpenAPI

````yaml /api-reference/admin-server.json post /api/admin/licensing/activate
openapi: 3.1.0
info:
  title: FalkorDB Admin API
  description: REST API for managing FalkorDB clusters, backups, and users via KubeBlocks
  version: 1.0.0
  contact:
    name: FalkorDB
    url: https://falkordb.com
    email: support@falkordb.com
servers:
  - url: http://localhost:3000
    description: Development server
security:
  - cookieAuth: []
tags:
  - name: System
    description: System health and info endpoints
  - name: Authentication
    description: User authentication endpoints
  - name: OAuth
    description: OAuth 2.0 sign-in flows
  - name: Users
    description: User management endpoints
  - name: User Profile
    description: Signed-in user profile and password
  - name: Clusters
    description: Cluster management endpoints
  - name: Cluster Operations
    description: 'KubeBlocks OpsRequests: restart, scale, reconfigure, switchover'
  - name: Backups
    description: Backup management endpoints
  - name: Backup Policies
    description: Backup policy management endpoints
  - name: Backup Schedules
    description: Recurring backup schedules
  - name: Backup Repositories
    description: Backup repository management
  - name: Restores
    description: Restore a deployment from a backup
  - name: Settings
    description: System settings endpoints
  - name: RBAC
    description: Role-based access control
  - name: Licensing
    description: License status and activation
  - name: Audit
    description: Audit log endpoints
  - name: Metrics
    description: System, deployment, and pod metrics
  - name: Diagnostics
    description: Health checks, diagnostics, and support packages
  - name: Search
    description: Cross-resource search
paths:
  /api/admin/licensing/activate:
    post:
      tags:
        - Licensing
      summary: Activate FalkorDB Enterprise with a signed license
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - license
              properties:
                license:
                  minLength: 1
                  type: string
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                properties:
                  status:
                    type: object
                    required:
                      - state
                      - message
                      - limits
                      - usage
                      - violations
                    properties:
                      state:
                        anyOf:
                          - type: string
                            enum:
                              - trial
                          - type: string
                            enum:
                              - active
                          - type: string
                            enum:
                              - expired
                          - type: string
                            enum:
                              - invalid
                          - type: string
                            enum:
                              - locked
                          - type: string
                            enum:
                              - disabled
                      message:
                        type: string
                      trialStartedAt:
                        type: string
                      trialExpiresAt:
                        type: string
                      license:
                        type: object
                        required:
                          - version
                          - licenseId
                          - accountName
                          - issuedAt
                          - limits
                        properties:
                          version:
                            type: number
                            enum:
                              - 1
                          licenseId:
                            type: string
                          accountName:
                            type: string
                          k8sClusterId:
                            type: string
                          issuedAt:
                            type: string
                          expiresAt:
                            type: string
                          limits:
                            type: object
                            required:
                              - cpuCores
                              - memoryGB
                              - deployments
                              - users
                            properties:
                              cpuCores:
                                anyOf:
                                  - minimum: 0
                                    type: number
                                  - type: string
                                    enum:
                                      - unlimited
                              memoryGB:
                                anyOf:
                                  - minimum: 0
                                    type: number
                                  - type: string
                                    enum:
                                      - unlimited
                              deployments:
                                anyOf:
                                  - minimum: 0
                                    type: number
                                  - type: string
                                    enum:
                                      - unlimited
                              users:
                                anyOf:
                                  - minimum: 0
                                    type: number
                                  - type: string
                                    enum:
                                      - unlimited
                      activatedAt:
                        type: string
                      lastValidatedAt:
                        type: string
                      limits:
                        type: object
                        required:
                          - cpuCores
                          - memoryGB
                          - deployments
                          - users
                        properties:
                          cpuCores:
                            anyOf:
                              - minimum: 0
                                type: number
                              - type: string
                                enum:
                                  - unlimited
                          memoryGB:
                            anyOf:
                              - minimum: 0
                                type: number
                              - type: string
                                enum:
                                  - unlimited
                          deployments:
                            anyOf:
                              - minimum: 0
                                type: number
                              - type: string
                                enum:
                                  - unlimited
                          users:
                            anyOf:
                              - minimum: 0
                                type: number
                              - type: string
                                enum:
                                  - unlimited
                      usage:
                        type: object
                        required:
                          - cpuCores
                          - memoryGB
                          - deployments
                          - users
                        properties:
                          cpuCores:
                            anyOf:
                              - minimum: 0
                                type: number
                              - type: string
                                enum:
                                  - unlimited
                          memoryGB:
                            anyOf:
                              - minimum: 0
                                type: number
                              - type: string
                                enum:
                                  - unlimited
                          deployments:
                            anyOf:
                              - minimum: 0
                                type: number
                              - type: string
                                enum:
                                  - unlimited
                          users:
                            anyOf:
                              - minimum: 0
                                type: number
                              - type: string
                                enum:
                                  - unlimited
                      violations:
                        type: array
                        items:
                          type: string
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  statusCode:
                    type: number
                  error:
                    type: string
                  message:
                    type: string
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  statusCode:
                    type: number
                  error:
                    type: string
                  message:
                    type: string
components:
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: token
      description: JWT token stored in HTTP-only cookie

````