LangBot Docs
Knowledge Bases

Remove a file from a knowledge base

DELETE
/api/v1/knowledge/bases/{kb_uuid}/files/{file_id}

Authorization

X-API-Key<token>

In: header

Path Parameters

kb_uuid*string
Formatuuid
file_id*string

Response Body

application/json

curl -X DELETE "https://example.com/api/v1/knowledge/bases/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/string"
{  "code": 0}