Skip to main content

Delete the source and all its page documents (asynchronous)

DELETE 

/v1/knowledge_bases/:kb_id/sources/:source_id

The source becomes deleting, a running sync is cancelled, and every page document is deleted like any other document (one knowledge.document.deleted webhook per page). Idempotent: 202 again while deleting.

Access: API key scope knowledge:write; portal users: organization admins and owners; the knowledge base in the path must be on the key's access list.

Request​

Responses​

Deletion accepted.