Request
/datasets/{name}Path parameters
The name of the dataset to delete
Authentication
Requires authentication via tenant credentials.Response
Success message confirming deletion
Behavior notes
Provisioner cleanup
For local dataset types (e.g.,local_file):
- If this is the last dataset using the provisioner, the provisioner will be stopped and its state removed
- If other datasets still use the provisioner, only the dataset record is deleted
Connected endpoints
Datasets can be connected to endpoints. When a dataset is deleted:- All endpoint connections are automatically removed (cascade delete)
- Endpoints themselves are not deleted, only their connections to this dataset
Data persistence
Deleting a dataset removes the configuration from Syft Space but may not delete the underlying data:- local_file: ChromaDB data persists in the container/filesystem
- remote_weaviate: Remote Weaviate collections are not modified