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

# Delete Model



## OpenAPI

````yaml DELETE /v1/models/{name}
openapi: 3.0.1
info:
  title: Remove Fast Train Model API
  version: 1.0.0
  description: API to remove a fast-trained model by name.
servers:
  - url: https://models.fineshare.com
    description: Models
security: []
paths:
  /v1/models/{name}:
    delete:
      tags:
        - Model Management
      summary: Remove a fast-trained model
      operationId: RemoveFastTrainModel
      parameters:
        - name: name
          in: path
          required: true
          schema:
            type: string
          description: Name of the model to be removed.
          example: VoiceModel1
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
          description: Bearer token for authorization.
      responses:
        '200':
          description: Model removed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RemoveCloneVoiceRespModel'
              examples:
                example-1:
                  summary: Successful Response
                  value:
                    status: success
                    message: Model removed successfully.
                    modelName: VoiceModel1
        '400':
          description: Bad request - invalid input or missing parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
        '401':
          description: Unauthorized - invalid or missing token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
        '404':
          description: Not found - model does not exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
        '500':
          description: Server error - unable to process the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
components:
  schemas:
    RemoveCloneVoiceRespModel:
      type: object
      properties:
        status:
          type: string
          example: success
        message:
          type: string
          example: Model removed successfully.
        modelName:
          type: string
          example: VoiceModel1
    ErrorModel:
      type: object
      properties:
        error:
          type: string
          example: Invalid model name.
        details:
          type: string
          example: The model 'VoiceModel1' does not exist.

````