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

# Delete Model

> Delete a model

Deletes a model based on its Hightouch ID. Any syncs that use the model are
deleted as well. Deleting a parent model also deletes every audience built
on it. A model that is still referenced by a journey, priority list,
decision engine agent, dynamic content condition, saved chart, or identity
resolution graph cannot be deleted until those references are removed.



## OpenAPI

````yaml https://api.hightouch.io/api/swagger.json delete /models/{modelId}
openapi: 3.0.0
info:
  title: Hightouch API
  version: 1.0.0
  description: Hightouch Public Rest API to access syncs, models, sources and destinations
  contact:
    name: Hightouch
    url: https://hightouch.com
servers:
  - url: https://api.hightouch.com/api/v1
security: []
paths:
  /models/{modelId}:
    delete:
      summary: Delete Model
      description: >-
        Delete a model


        Deletes a model based on its Hightouch ID. Any syncs that use the model
        are

        deleted as well. Deleting a parent model also deletes every audience
        built

        on it. A model that is still referenced by a journey, priority list,

        decision engine agent, dynamic content condition, saved chart, or
        identity

        resolution graph cannot be deleted until those references are removed.
      operationId: DeleteModel
      parameters:
        - description: The model's ID
          in: path
          name: modelId
          required: true
          schema:
            type: number
            format: double
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                anyOf:
                  - {}
                  - $ref: '#/components/schemas/ValidateErrorJSON'
                  - $ref: '#/components/schemas/InternalServerError'
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidateErrorJSON'
        '422':
          description: Validation Failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidateErrorJSON'
        '500':
          description: Something went wrong
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerError'
      security:
        - bearerAuth: []
components:
  schemas:
    ValidateErrorJSON:
      properties:
        message:
          type: string
          enum:
            - Validation failed
          nullable: false
        details:
          properties: {}
          additionalProperties: {}
          type: object
      required:
        - message
        - details
      type: object
      additionalProperties: false
    InternalServerError:
      type: string
      enum:
        - Internal Server Error
      nullable: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Bearer

````