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

# Set License Key

> Sets the license key for the application.



## OpenAPI

````yaml /api/swagger.json post /state/license-key
openapi: 3.0.1
info:
  title: BLOOD-V3 API
  contact: {}
  version: 0.0.1
servers:
  - url: //localhost:50000/api/v1
security: []
paths:
  /state/license-key:
    post:
      tags:
        - State
      summary: Set License Key
      description: Sets the license key for the application.
      requestBody:
        description: License Key Request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/handlers.setLicenseKeyRequest'
        required: true
      responses:
        '200':
          description: OK
          content: {}
        '400':
          description: Invalid request body
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/handlers.ErrorResponse'
        '500':
          description: Internal server error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/handlers.ErrorResponse'
components:
  schemas:
    handlers.setLicenseKeyRequest:
      type: object
      properties:
        license_key:
          type: string
    handlers.ErrorResponse:
      type: object
      properties:
        error:
          type: string

````