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

# Delete a client model

> Delete one client model owned by your organisation and return status 204. A model owned by another organisation returns 404.



## OpenAPI

````yaml api-reference/agents/client-models.oas.yaml DELETE /v1/agents/client-models/{client_model_id}
openapi: 3.1.0
info:
  title: SLNG Agent Resources — Client models
  version: 1.0.0
  description: >-
    Public API for organisation tools, MCP servers, Vault entries, and BYOK
    client models.
  contact:
    name: SLNG Support
    email: support@slng.ai
servers:
  - url: https://api.agents.slng.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/agents/client-models/{client_model_id}:
    delete:
      summary: Delete Client Model
      description: >-
        Delete one client model owned by your organisation and return status
        204. A model owned by another organisation returns 404.
      operationId: deleteClientModel
      parameters:
        - name: client_model_id
          in: path
          required: true
          description: >-
            The UUID of the client model to delete. A model owned by another
            organisation returns 404.
          example: 6a3f5b2c-1d4e-4f8a-9b0c-2e3d4f5a6b7c
          schema:
            type: string
            format: uuid
            title: Client Model Id
      responses:
        '204':
          description: The client model was deleted. No content is returned.
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '403':
          $ref: '#/components/responses/ForbiddenError'
        '404':
          $ref: '#/components/responses/NotFoundError'
        '409':
          $ref: '#/components/responses/ConflictError'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimitError'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  responses:
    UnauthorizedError:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiErrorResponse'
    ForbiddenError:
      description: >-
        The caller cannot perform this operation, or public resource access is
        disabled for the organisation. Disabled access returns code
        PUBLIC_SHARED_RESOURCES_DISABLED with retryable set to false.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiErrorResponse'
    NotFoundError:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiErrorResponse'
    ConflictError:
      description: The requested change conflicts with the current resource state.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiErrorResponse'
    ValidationError:
      description: Request validation failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiErrorResponse'
    RateLimitError:
      description: The organisation's request limit was exceeded.
      headers:
        Retry-After:
          schema:
            type: integer
        X-RateLimit-Limit:
          schema:
            type: integer
        X-RateLimit-Remaining:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiErrorResponse'
    InternalServerError:
      description: The operation failed. The response does not expose secret values.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiErrorResponse'
  schemas:
    ApiErrorResponse:
      type: object
      description: >-
        Error envelope returned by failed requests. `detail` is a short message
        and `error` carries the structured code and metadata.
      required:
        - detail
        - error
      properties:
        detail:
          type: string
        error:
          $ref: '#/components/schemas/ApiErrorDetail'
      example:
        detail: client model not found
        error:
          code: NOT_FOUND
          message: client model not found
          request_id: req_01H8XYZ
          retryable: false
    ApiErrorDetail:
      type: object
      description: >-
        Structured error body: a stable machine-readable `code`, a
        human-readable `message`, and optional `request_id`, `retryable`, and
        per-field validation details.
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: Stable machine-readable error code.
          example: NOT_FOUND
        message:
          type: string
          example: client model not found
        request_id:
          type:
            - string
            - 'null'
          example: req_01H8XYZ
        retryable:
          type: boolean
          example: false
        fields:
          type: array
          items:
            type: object
            additionalProperties: true
          example: []
      example:
        code: NOT_FOUND
        message: client model not found
        request_id: req_01H8XYZ
        retryable: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: SLNG API key
      description: Your SLNG consumer API key.

````