---
title: "Delete Text Document"
method: DELETE
path: "/api/scraping/text-document/{bot_id}"
tags: ["Scraping"]
---

# Delete Text Document

`DELETE /api/scraping/text-document/{bot_id}`

Delete text document of bot.

## Path parameters

- `bot_id` string, uuid, required

## Request body

- KnowledgeBaseDeleteTextSchema
  - `text_document_ids` string[], required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2023-11-13** `ac1f1ab68fcb` — 1 info
  - endpoint added
- **2023-11-08** `dbd91277da05` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/chat-fly/apis/chatfly-backend-application/changes/api/scraping/text-document/:bot_id/delete.md)

---

[API](https://skmtc.dev/chat-fly/apis/chatfly-backend-application.md) · [All operations](https://skmtc.dev/chat-fly/apis/chatfly-backend-application/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chat-fly/chatfly-backend-application/revisions/ac1f1ab68fcb/schema)
