Skip to main content
DELETE
/
api
/
v1
/
datasets
/
{dataset_id}
/
data
/
{data_id}
Delete Data
curl --request DELETE \
  --url https://api.cognee.ai/api/v1/datasets/{dataset_id}/data/{data_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

dataset_id
string<uuid>
required

Dataset UUID, the id field from GET /api/v1/datasets (not the name)

Example:

"b8a7c3de-4f5a-4b6c-8d9e-0f1a2b3c4d5e"

data_id
string<uuid>
required

Data item UUID, from GET /api/v1/datasets/{dataset_id}/data

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

Response

Successful Response