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
Also 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".