cURL
curl --request DELETE \ --url https://api.trillet.ai/v1/api/call-flows/{id}/knowledge-base/{fileKey} \ --header 'x-api-key: <x-api-key>' \ --header 'x-workspace-id: <x-workspace-id>'
{ "_id": "callFlowId", "workspaceId": "workspaceIdExample", "settings": { "knowledgeBaseFiles": [ // Remaining files after deletion ] } }
Delete a knowledge base file associated with a specific call flow.