Skip to main content
DELETE
/
knowledge-base
/
datasets
/
{dataset_id}
/
sources
/
{dataset_source_id}
Remove a source from a knowledge base
curl --request DELETE \
  --url https://api.anyreach.ai/knowledge-base/datasets/{dataset_id}/sources/{dataset_source_id} \
  --header 'Authorization: Bearer <token>'
{
  "detail": "Dataset not found"
}

Authorizations

Authorization
string
header
required

Personal access token. See Authentication.

Path Parameters

dataset_id
string<uuid>
required

The knowledge base ID.

dataset_source_id
string<uuid>
required

The attachment ID (from List sources in a knowledge base).

Response

Source detached.