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

# Delete a stored chat completion

> Deletes a chat completion by ID, cleaning up all associated resources.



## OpenAPI

````yaml /Ubuntu/ai-workflows/api-specs/llm-vlm-service/openapi.yaml delete /v1/chat/completions/{completion_id}
openapi: 3.0.3
info:
  title: LLM-VLM GenAI Microservice APIs
  description: >-
    These REST APIs provide the capability to run inference on Qualcomm
    Dragonwing devices.
  version: 1.0.0
servers:
  - url: http://{device-ip}:{device-port}/
    description: LLM-VLM Microservice API Server
    variables:
      device-ip:
        description: >-
          IP address and port of the host device running the LLM-VLM
          Microservice API
        default: localhost
      device-port:
        default: '9001'
security: []
paths:
  /v1/chat/completions/{completion_id}:
    delete:
      tags:
        - Chat
      summary: Delete a stored chat completion
      description: Deletes a chat completion by ID, cleaning up all associated resources.
      operationId: deleteChatCompletion
      parameters:
        - name: completion_id
          in: path
          required: true
          description: The ID of the chat completion to delete
          schema:
            type: string
      responses:
        '200':
          description: The chat completion was deleted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatCompletionDeleted'
        '404':
          description: The chat completion with the specified ID was not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                    description: Error message describing why the completion was not found
components:
  schemas:
    ChatCompletionDeleted:
      type: object
      title: Chat completion deleted
      description: Represents the deletion confirmation of a chat completion.
      properties:
        id:
          type: string
          description: The ID of the deleted chat completion.
        object:
          type: string
          description: The object type, which is always "chat.completion.deleted".
          enum:
            - chat.completion.deleted
        deleted:
          type: boolean
          description: Whether the chat completion was successfully deleted.
      required:
        - id
        - object
        - deleted

````