Mediflo
REST APIKnowledge

Delete a knowledge source

Soft delete — the row is retained and the index is rebuilt without it. Required scope: `knowledge.write`.

DELETE/bots/{botId}/knowledge/sources/{sourceId}

Authorization

ApiKeyAuth
AuthorizationBearer <token>

An external API key, sent as Authorization: Bearer mflo_…. Scopes are checked per route; see each operation’s description.

In: header

Path Parameters

botId*string
Formatuuid
sourceId*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/bots/497f6eca-6276-4993-bfeb-53cbbbba6f08/knowledge/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "deleted": true  }}