Repositories and search
Delete repository
Delete a repository, its documents and their files.
DELETE
Deletes a repository, its folders and its search index. Its documents are deleted too, with the files behind them: the repository owns the file of each document it holds (see Add documents), so it does not outlive the repository. The repository’s agent stops being listed at once. Download any file you want to keep first.
Reports whose rows followed this repository stop following it. They keep their current rows and cells.
This endpoint is REST only. No MCP tool deletes a repository.
Authentication
Requires an API key, or an OAuth token withrepositories:write. The caller also needs delete access to the repository.
Path parameters
Response
Returns204 with no body. The documents and the index are removed in the background over the next minutes.