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

# Delete Chatbot

> Delete Chatbot



## OpenAPI

````yaml api-reference/openapi-spec.json delete /api/external/chatbot/{chatbotId}
openapi: 3.0.3
info:
  title: OKCHAT2.0
  version: 1.0.0
  contact: {}
servers:
  - url: https://v2.okchat.ai
  - url: http://localhost
security: []
tags: []
paths:
  /api/external/chatbot/{chatbotId}:
    parameters:
      - name: chatbotId
        in: path
        required: true
        schema:
          type: string
          example: ''
    delete:
      summary: Delete Chatbot
      description: Delete Chatbot
      operationId: deleteChatbot
      parameters:
        - name: x-api-key
          in: header
          schema:
            type: string
            example: 4358d60b39ef0df47f421c0d58331407ec609abb6355dfa4
      responses:
        '200':
          description: E.G
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Date:
              schema:
                type: string
                example: Tue, 10 Dec 2024 04:43:11 GMT
            Keep-Alive:
              schema:
                type: string
                example: timeout=5
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Chatbot deleted successfully
              examples:
                E.G:
                  value:
                    message: Chatbot deleted successfully

````