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

# Effacer tout l'historique du compte

> Mêmes pierres tombales, pour la même raison : un appareil hors ligne pendant l'effacement ne doit pas pouvoir tout remettre en se reconnectant.



## OpenAPI

````yaml /openapi.json delete /v2/conversations
openapi: 3.1.0
info:
  title: Locus API
  description: >-
    Locus knowledge layer — REST over a clinical knowledge graph.


    Two categories of surface:

    - **query** (read) — `/v2/retrieve` and `/v2/retrieve/stream`
    (knowledge-graph retrieval, MKF 0.1.3), `/v2/drugs/*` (the full text of an
    SmPC section a retrieval truncated) and `/v2/feedback` (a thumb on a traced
    answer);

    - **ops** — `/health`.


    The write plane (PDF → Neo4j graph: ingest, summarize, MKU extraction) is
    NOT exposed over HTTP — it is a batch pipeline driven by the `locus` CLI,
    which runs where the source PDFs are.
  version: 0.5.0
servers:
  - url: https://core.locusmedical.fr
    description: Production
security: []
paths:
  /v2/conversations:
    delete:
      tags:
        - query
      summary: Effacer tout l'historique du compte
      description: >-
        Mêmes pierres tombales, pour la même raison : un appareil hors ligne
        pendant l'effacement ne doit pas pouvoir tout remettre en se
        reconnectant.
      operationId: clear_conversations_v2_conversations_delete
      parameters:
        - name: X-Locus-User-Ref
          in: header
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 200
            description: >-
              Le compte, tel que l'intégrateur le nomme — pour l'app Locus,
              l'identifiant Clerk. Affirmé par l'intégrateur, qui en répond ;
              core ne peut pas le vérifier et cloisonne dessus.
            title: X-Locus-User-Ref
          description: >-
            Le compte, tel que l'intégrateur le nomme — pour l'app Locus,
            l'identifiant Clerk. Affirmé par l'intégrateur, qui en répond ; core
            ne peut pas le vérifier et cloisonne dessus.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Deleted'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - lsk: []
components:
  schemas:
    Deleted:
      properties:
        ok:
          type: boolean
          title: Ok
          default: true
        deleted:
          type: integer
          title: Deleted
      type: object
      required:
        - deleted
      title: Deleted
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    lsk:
      type: http
      description: Locus API key — paste the raw `lsk_…` value (no 'Bearer ' prefix).
      scheme: bearer

````