---
title: "Delete a knowledge source"
method: DELETE
path: "/knowledge/sources/{sourceId}"
tags: ["Knowledge"]
---

# Delete a knowledge source

`DELETE /knowledge/sources/{sourceId}`

## Request

- Base URL: `https://platform-api.visitoai.com/m2m/v1`
- URL: `https://platform-api.visitoai.com/m2m/v1/knowledge/sources/{sourceId}`
- Auth: HTTP bearer

Permanently delete the requested knowledge source/chunks (and associated stored asset when present) under existing service behavior. Discover sourceId through list_knowledge_sources, inspect includeInactive=true first, and reconcile after an ambiguous failure. Use deactivation for reversible removal from retrieval; managed websites should use delete_knowledge_website. Deletion is not historical trace erasure. Required permission: knowledge:write.

## Path parameters

- `sourceId` string, required

## Response `204`

Success

## Other responses

- `default`: Structured error

---

[API](https://skmtc.dev/visitoai/apis/visito-m2m-api.md) - [All operations](https://skmtc.dev/visitoai/apis/visito-m2m-api/llms.txt) - [OpenAPI document](https://skmtc.dev/visitoai/apis/visito-m2m-api/revisions/98377d35c234?raw)
