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

# Remove model from alias

> Soft-delete the link between a model and this alias.



## OpenAPI

````yaml /api-reference/openapi-v3.yaml delete /api/v3/aliases/{id}/models/{uuid}
openapi: 3.1.0
info:
  title: LightOn API
  version: 3.15.0 (v3)
  description: >-
    LightOn gives you an API to search, parse, and ingest documents at scale.
    Build knowledge-retrieval pipelines without managing vector databases or OCR
    models.
servers:
  - url: https://paradigm.lighton.ai
security: []
tags:
  - name: Agents
    description: Operations about agents
  - name: Threads
    description: Operations about agents conversation threads
  - name: Tools
    description: Operations about native tools
  - name: Models
    description: Operations about AI models
  - name: MCP
    description: Operations about MCP servers
  - name: Sources
    description: Operations about sources used by agents conversation threads
  - name: Artifacts
    description: Operations about artifacts generated by agents conversation threads
  - name: Agent
    description: >-
      Operations about agents (deprecated). Please use the 'Agents' API
      component instead.
  - name: Files
    description: Operations about files
  - name: Facets
    description: Operations about facets
  - name: Tags
    description: Operations about tags
  - name: Workspaces
    description: Operations about workspaces
  - name: Files Processing
    description: Operations about files processing
  - name: Users
    description: Operations about users
  - name: API Keys
    description: Operations about API keys
  - name: User Groups
    description: Operations about user groups
  - name: SCIM
    description: Operations about SCIM
paths:
  /api/v3/aliases/{id}/models/{uuid}:
    delete:
      tags:
        - Models
      summary: Remove model from alias
      description: Soft-delete the link between a model and this alias.
      operationId: api_v3_aliases_models_destroy
      parameters:
        - in: path
          name: id
          schema:
            type: string
            format: uuid
          required: true
        - in: path
          name: uuid
          schema:
            type: string
            format: uuid
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AliasDetails'
          description: ''
        '503':
          description: >-
            API is under maintenance. Check `GET /api/v3/system/status` for
            active periods and retry.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceMaintenance503'
      security:
        - bearerAuth: []
components:
  schemas:
    AliasDetails:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique ID for this alias
        company_id:
          type: integer
          description: ID of the company which owns this alias.
        name:
          type: string
          description: Display name for this model alias
        technical_name:
          type: string
          description: Company-wide unique technical name for this model alias
        description:
          type: string
          description: Description of the alias.
        model_type:
          allOf:
            - $ref: '#/components/schemas/ModelTypeEnum'
          description: >-
            Type of models represented by this alias (eg. 'Large Language
            Model', 'Embedding Model','Vision Language Model', 'Multi-Vector
            Model)


            * `Large Language Model` - Large Language Model

            * `Embedding Model` - Embedding Model

            * `Vision Language Model` - Vision Language Model

            * `Multi-Vector Model` - Multi-Vector Model
        linked_models:
          type: array
          items:
            $ref: '#/components/schemas/AliasToMLModelMapping'
          description: Models associated with this alias.
      required:
        - company_id
        - description
        - id
        - linked_models
        - model_type
        - name
        - technical_name
    ServiceMaintenance503:
      type: object
      description: >-
        Returned by the maintenance middleware when the requested endpoint is
        blocked.
      required:
        - detail
        - error
        - mode
      properties:
        detail:
          type: string
          example: System is under maintenance.
        error:
          type: string
          example: service_maintenance
        mode:
          type: string
          enum:
            - full_shutdown
            - warning_banner
          description: >-
            `full_shutdown` blocks all traffic; `warning_banner` also blocks and
            shows a dismissible toast.
        reason:
          type: string
          description: Operator-supplied maintenance reason, if any.
        started_at:
          type: string
          format: date-time
        endpoint_category_names:
          type: array
          items:
            type: string
          description: >-
            Non-empty only for category-scoped periods. Empty means all
            endpoints are affected.
    ModelTypeEnum:
      enum:
        - Large Language Model
        - Embedding Model
        - Vision Language Model
        - Multi-Vector Model
      type: string
      description: |-
        * `Large Language Model` - Large Language Model
        * `Embedding Model` - Embedding Model
        * `Vision Language Model` - Vision Language Model
        * `Multi-Vector Model` - Multi-Vector Model
    AliasToMLModelMapping:
      type: object
      properties:
        priority:
          type: integer
          description: >-
            How priorized is this model if reffered by an alias assigned to
            multiple models,with highest priority being 0.
        model_id:
          type: string
          format: uuid
          description: ID of the model associated with the alias
        model_name:
          type: string
          description: Display name for the model associated with the alias
        model_technical_name:
          type: string
          description: >-
            Instance-wide unique technical name for this model such as it is set
            in the mode gateway configuration
      required:
        - model_id
        - model_name
        - model_technical_name
        - priority
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form `Bearer <token>`, where
        `<token>` is your auth token.

````