CLI Reference
delete
Delete resources. All deletes are soft-deletes. Referenced files are NOT deleted.
Delete Collection
dreamlake delete collection <name> --project space[@namespace] [--yes]| Flag | Type | Required | Description |
|---|---|---|---|
<name> | positional | Yes | Collection name |
--project | string | Yes | Target: space[@namespace] |
--yes | flag | No | Skip confirmation prompt |
dreamlake delete collection "front-camera" --project robotics@alice
dreamlake delete collection "old-batch" --project robotics --yesDelete Dataset
dreamlake delete dataset <name> --project space[@namespace] [--yes]| Flag | Type | Required | Description |
|---|---|---|---|
<name> | positional | Yes | Dataset name |
--project | string | Yes | Target: space[@namespace] |
--yes | flag | No | Skip confirmation prompt |
Deleting a dataset does NOT delete its collections — they become standalone (their datasetId is not cleared).
dreamlake delete dataset "training-v1" --project robotics@aliceErrors
| Error | Cause |
|---|---|
collection not found / dataset not found | Name doesn't exist or already deleted |
project not found | Space or namespace doesn't exist |