cURL
curl --request DELETE \ --url http://localhost:5300/api/v1/knowledge/bases/{kb_uuid}/files/{file_id} \ --header 'X-API-Key: <api-key>'
{ "code": 0, "msg": "ok", "data": {} }
Delete file from the specified knowledge base
API Key authentication using X-API-Key header. Example: X-API-Key: lbk_your_api_key_here
X-API-Key: lbk_your_api_key_here
Knowledge Base UUID
File ID
Deletion successful
0
"ok"