Orq MCP is live: Use natural language to interrogate traces, spot regressions, and experiment your way to optimal AI configurations. Available in Claude Desktop, Claude Code, Cursor, and more. Start now →
Deletes a datasource from a knowledge base. Deleting a datasource will remove it from the knowledge base and all associated chunks. This action is irreversible and cannot be undone.
curl --request DELETE \
--url https://api.orq.ai/v2/knowledge/{knowledge_id}/datasources/{datasource_id} \
--header 'Authorization: Bearer <token>'Documentation Index
Fetch the complete documentation index at: https://docs.orq.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the knowledge base
The unique identifier of the datasource.
Datasource successfully deleted
Was this page helpful?
curl --request DELETE \
--url https://api.orq.ai/v2/knowledge/{knowledge_id}/datasources/{datasource_id} \
--header 'Authorization: Bearer <token>'