pool.dataset.delete =================== Delete dataset/zvol `id`. .. examples(websocket):: Delete "tank/myuser" dataset. :::javascript { "id": "6841f242-840a-11e6-a437-00e04d680384", "msg": "method", "method": "pool.dataset.delete", "params": ["tank/myuser"] } .. raw:: html
The dataset ID (full path) to delete.
Options controlling the deletion behavior such as recursive and force flags.
No Additional PropertiesAlso delete/destroy all children datasets. When root dataset is specified as id with recursive, it will destroy all the children of the root dataset present leaving root dataset intact.
Delete datasets even if they are busy.
Return true on successful deletion or null if the zfs destroy command fails with "dataset does not exist".