datasets
Delete Dataset
Delete a dataset by its ID.
This endpoint permanently deletes a dataset and all its associated data. The user must have delete permissions on the dataset to perform this operation.
Path Parameters
- dataset_id (UUID): The unique identifier of the dataset to delete
Response
No content returned on successful deletion.
Error Codes
- 404 Not Found: Dataset doesn’t exist or user doesn’t have access
- 500 Internal Server Error: Error during deletion
DELETE
Delete Dataset
Documentation Index
Fetch the complete documentation index at: https://docs.cognee.ai/llms.txt
Use this file to discover all available pages before exploring further.
Previous
Delete DataDelete a specific data item from a dataset.
This endpoint removes a specific data item from a dataset while keeping
the dataset itself intact. The user must have delete permissions on the
dataset to perform this operation.
## Path Parameters
- **dataset_id** (UUID): The unique identifier of the dataset containing the data
- **data_id** (UUID): The unique identifier of the data item to delete
## Response
No content returned on successful deletion.
## Error Codes
- **404 Not Found**: Dataset or data item doesn't exist, or user doesn't have access
- **500 Internal Server Error**: Error during deletion
Next
Delete Dataset