Archive a dataset
archive_datasetRetires a whole dataset: every reader loses access, its public page and unlisted link are withdrawn, and its name is free for a new dataset. Nothing it built is deleted, but ONLY Mostly Right support can restore it. The same act as the settings page's delete and mr-data dataset archive; the service confirms it against the dataset's stored name itself. Example: {"dataset_id": "…", "confirm": true}. It refuses without confirm: true. Only call it when the person you are working for has asked for this dataset to be archived, by name; never to clear space, retry a failed build or tidy up. To retire one table instead, use demote_table and archive_table. Returns {dataset_id, status}. An archive that does not confirm may still have taken effect: read get_my_dataset before calling again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| dataset_id | Yes |