Skip to main content

Delete a knowledge scope

DELETE 

/api/v1/chatbots/:chatbotId/scopes/:scopeId

Remove one knowledge scope from a chatbot. Also unassigns the scope from the knowledge-base tree and any workflows that referenced it. Returns 409 if the scope still has documents/vectors — reassign or delete them in the dashboard first (no destructive document/vector cascade). Required scope: chatbots:write.

Request

Responses

Scope deleted.