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

# Delete message

> Deletes a message.



## OpenAPI

````yaml DELETE /v1/threads/{thread_id}/messages/{message_id}
openapi: 3.0.0
info:
  title: ZeroBot API
  version: 1.0.0
  description: API reference for ZeroBot
servers:
  - url: https://api.zerobot.ai
security: []
paths:
  /v1/threads/{thread_id}/messages/{message_id}:
    delete:
      summary: Delete a message
      description: Deletes a message.
      parameters:
        - name: thread_id
          description: The ID of the thread to which this message belongs.
          in: path
          required: true
          schema:
            type: string
        - name: message_id
          description: The ID of the message to delete.
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: The deletion status.
                    enum:
                      - success

````