Knowledge
Delete knowledge
DELETE
Delete a knowledge source with its indexed content and stored file, for all agents. Owner/admin.
bearer knowledge:writeheader
AuthorizationBearer <token>API key (rsl_live_…) from Settings → Developers.
Scope: knowledge:write
sourceId*stringKnowledge source id. Never invent ids – list resources first.
Length
1 <= length <= 64confirmationToken?stringDestructive operations run in two steps: call without this field, show the returned summary to the user, and only after their explicit approval call again with the returned confirmation_token.
Length
length <= 512Success
application/json- response
id*stringdeleted*trueValue in
truecurl -X DELETE "https://example.com/knowledge-sources/string"{ "id": "string", "deleted": true}